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 fails while Build Secure XGBoost #162

Open aanand300 opened 2 years ago

aanand300 commented 2 years ago

Hi, I'm trying to Build Secure XGBoost following https://github.com/mc2-project/secure-xgboost and build fails in Step 6 when I run make -j4. Please find the output log file attached: build.log

My machine is Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz based on Kaby Lake CPU which supports SGX without FLC. I already built Open Enclave SDK and installed Out-of-Tree driver sgx_linux_x64_driver_2.11.0_2d2b795.bin from https://download.01.org/intel-sgx/sgx-linux/2.15/distro/ubuntu18.04-server since I cannot use DCAP driver

Has anyone faced this issue or knows how to solve it? Any help is appreciated. Thanks

chester-leung commented 2 years ago

Hi, it looks like when building it cannot find Mbed TLS. Please make sure you've run sudo apt-get install -y libmbedtls-dev to install Mbed TLS.

Additionally, we have a PR open #163 to upgrade Secure XGBoost to use Open Enclave 0.17.1 (version 0.12.0, which is currently used in master, is obsolete). Once that is merged in please try again with Open Enclave 0.17.1 -- hopefully that fixes the issue, as OE 0.17.1 builds a bit differently.