mirror of
https://github.com/samsapti/bachelor-project.git
synced 2024-11-22 04:47:53 +00:00
Add CONFIG patch
This commit is contained in:
parent
b0d7ac34d7
commit
8b34b64f16
5
Makefile
5
Makefile
|
@ -1,6 +1,9 @@
|
|||
default: all
|
||||
|
||||
deps:
|
||||
patch:
|
||||
-git -C src/MP_SPDZ apply ../../config.patch
|
||||
|
||||
deps: patch
|
||||
sudo apt install automake build-essential clang cmake git libntl-dev \
|
||||
libsodium-dev libssl-dev libtool m4 python3 texinfo yasm
|
||||
make -C src/MP_SPDZ -j$$(nproc) boost
|
||||
|
|
12
config.patch
Normal file
12
config.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff --git a/CONFIG b/CONFIG
|
||||
index 6d5f0f17..217471f7 100644
|
||||
--- a/CONFIG
|
||||
+++ b/CONFIG
|
||||
@@ -28,7 +28,6 @@ USE_GF2N_LONG = 1
|
||||
# ADX is used to optimize big integer additions
|
||||
# delete the second line to compile for a platform that supports everything
|
||||
ARCH = -mtune=native -msse4.1 -msse4.2 -maes -mpclmul -mavx -mavx2 -mbmi2 -madx
|
||||
-ARCH = -march=native
|
||||
|
||||
MACHINE := $(shell uname -m)
|
||||
ARM := $(shell uname -m | grep x86; echo $$?)
|
Loading…
Reference in a new issue