mc2-project / secure-xgboost

Secure collaborative training and inference for XGBoost.
https://mc2-project.github.io/secure-xgboost/
Apache License 2.0
105 stars 32 forks source link

Make j4 failed when install secure-xgboost #167

Open Starry1024 opened 2 years ago

Starry1024 commented 2 years ago
  1. The question is _"/home/lab123/secure-xgboost/enclave/../include/intrinsics/avx512fintrin.h:1761:20: error: ‘builtin_ia32_sqrtsd_round’ was not declared in this scope; did you mean ‘__builtin_ia32_subsd_round’? 1761 | return (m128d) __builtin_ia32_sqrtsdround ((v2df) " The detail of the this qesution as the following picture as follow: Snipaste_2022-07-18_15-59-39 Snipaste_2022-07-18_16-00-06
  2. Envrionment informantion: Snipaste_2022-07-18_16-03-01
  3. The version of SecureXGBoost is getted by git from the master repo
chester-leung commented 2 years ago

Hi @Starry1024, sorry for the late response. It's possible that you're getting this error because your CPU doesn't support AVX2 instructions, which Secure XGBoost uses to speed up oblivious computation.

Please try turning the build option for AVX2 in the CMake (linked above) to OFF, and rebuilding.