intel / hexl

Intel:registered: Homomorphic Encryption Acceleration Library accelerates modular arithmetic operations used in homomorphic encryption

Home Page:https://intel.github.io/hexl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tried to build the docker file getting this error

martystack opened this issue · comments

mac osx 12.1
docker version 4.6.1
hexl version v1.2.4

7 393.9 [ 86%] Linking CXX executable ../bin/benchmark/poly-benchmark-16k
#7 394.7 [ 86%] Built target compare-bfvrns-vs-bfvrnsB
#7 394.8 [ 86%] Built target poly-benchmark-16k
#7 395.1 [ 87%] Linking CXX executable ../../bin/examples/pke/depth-bfvrns
#7 395.3 [ 87%] Built target depth-bfvrns
#7 395.6 [ 87%] Linking CXX executable ../bin/benchmark/poly-benchmark-4k
#7 395.8 [ 87%] Linking CXX executable ../../bin/examples/pke/evalatindex
#7 395.8 [ 88%] Linking CXX executable ../../bin/examples/pke/depth-bfvrns-b
#7 396.0 [ 88%] Built target poly-benchmark-4k
#7 396.3 [ 88%] Built target depth-bfvrns-b
#7 396.5 [ 88%] Built target evalatindex
#7 396.7 [ 88%] Linking CXX executable ../../bin/examples/pke/depth-bgvrns
#7 397.3 [ 88%] Built target depth-bgvrns
#7 399.4 [ 88%] Linking CXX executable ../bin/benchmark/lib-benchmark
#7 399.9 [ 88%] Built target lib-benchmark
#7 401.7 [ 89%] Linking CXX executable ../../bin/examples/pke/threshold-fhe
#7 402.2 [ 89%] Built target threshold-fhe
#7 402.7 [ 90%] Linking CXX executable ../bin/benchmark/VectorMath
#7 403.1 [ 90%] Built target VectorMath
#7 407.7 [ 91%] Linking CXX executable ../bin/benchmark/lib-hexl-benchmark
#7 408.2 [ 91%] Built target lib-hexl-benchmark
#7 443.1 [ 92%] Linking CXX executable ../bin/benchmark/serialize-ckks
#7 443.4 [ 92%] Built target serialize-ckks
#7 444.7 make[1]: *** [CMakeFiles/Makefile2:1406: src/pke/CMakeFiles/pke_tests.dir/all] Error 2
#7 445.3 [ 93%] Linking CXX executable ../../bin/examples/pke/simple-integers-serial-bgvrns
#7 445.5 [ 93%] Built target simple-integers-serial-bgvrns
#7 451.7 [ 93%] Linking CXX executable ../../bin/examples/pke/simple-integers-serial
#7 451.9 [ 93%] Built target simple-integers-serial
#7 451.9 make: *** [Makefile:149: all] Error 2

executor failed running [/bin/sh -c tar -zxvf libs.tar.gz && cd /libs/hexl && cmake -S . -B build && cmake --build build -j && cmake --install build && cd /libs/GSL && cmake -S . -B build -DGSL_TEST=OFF && cmake --build build -j && cmake --install build && cd /libs/zlib && cmake -S . -B build && cmake --build build -j && cmake --install build && cd /libs/zstd/build/cmake && cmake -S . -B build -DZSTD_BUILD_PROGRAMS=OFF -DZSTD_BUILD_SHARED=OFF -DZSTD_BUILD_STATIC=ON -DZSTD_BUILD_TESTS=OFF -DZSTD_MULTITHREAD_SUPPORT=OFF && cmake --build build -j && cmake --install build && cd /libs/SEAL && cmake -S . -B build -DSEAL_BUILD_DEPS=OFF -DSEAL_USE_INTEL_HEXL=ON -DHEXL_DIR=/usr/local/lib/cmake/hexl-1.2.3/ && cmake --build build -j && cmake --install build && cd /libs/palisade-release && cmake -S . -B build -DWITH_INTEL_HEXL=ON -DINTEL_HEXL_PREBUILT=ON -DINTEL_HEXL_HINT_DIR=/usr/local/lib/cmake/hexl-1.2.3/ && cmake --build build -j && cmake --install build && cd /libs/HElib && cmake -S . -B build -DUSE_INTEL_HEXL=ON -DHEXL_DIR=/usr/local/lib/cmake/hexl-1.2.3/ && cmake --build build -j && cmake --install build]: exit code: 2

This is an he-toolkit issue. Closing this issue here and I have opened one for the toolkit team, intel/he-toolkit#122