Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make j4 failed when install secure-xgboost #167

Open
Starry1024 opened this issue Jul 18, 2022 · 1 comment
Open

Make j4 failed when install secure-xgboost #167

Starry1024 opened this issue Jul 18, 2022 · 1 comment

Comments

@Starry1024
Copy link

Starry1024 commented Jul 18, 2022

  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_sqrtsd_round ((__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
@Starry1024 Starry1024 changed the title Make j4 to install secure-xgboost, Meet the qesution! Make j4 failed when install secure-xgboost Jul 18, 2022
@chester-leung
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants