intel / he-toolkit

The Intel Homomorphic Encryption (HE) toolkit is the primordial vehicle for the continuous distribution of the Intel HE technological innovation to users. The toolkit has been designed with usability in mind and to make it easier for users to evaluate and deploy homomorphic encryption technology on the Intel platforms.
https://software.intel.com/content/www/us/en/develop/tools/homomorphic-encryption.html#gs.2z7ahg
Apache License 2.0
115 stars 23 forks source link

tried to build the docker file getting this error #122

Closed hamishun closed 2 years ago

hamishun commented 2 years ago

Wrongly opened under HEXL project original issue: https://github.com/intel/hexl/issues/112, body copied here below. @martystack

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

joserochh commented 2 years ago

Hello @martystack we haven't been able to reproduce your issue. Can you provide us your docker engine version as well as the specific toolkit version your were using? Are you still seeing this issue on the latest version of the toolkit?

jlhcrawford commented 2 years ago

Closing this issue as codebase has moved on significantly since this was reported.