Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 32 lines 2.2 kB view raw
1diff --git a/Makefile b/Makefile 2index 19bc05a..6b1acd4 100644 3--- a/Makefile 4+++ b/Makefile 5@@ -50,13 +50,13 @@ tips: 6 preparation: 7 # As SDK build needs to clone and patch openmp, we cannot support the mode that download the source from github as zip. 8 # Only enable the download from git 9- git submodule update --init --recursive 10+ # git submodule update --init --recursive 11 cd external/dcap_source/external/jwt-cpp && git apply ../0001-Add-a-macro-to-disable-time-support-in-jwt-for-SGX.patch >/dev/null 2>&1 || \ 12 git apply ../0001-Add-a-macro-to-disable-time-support-in-jwt-for-SGX.patch -R --check 13- ./external/dcap_source/QuoteVerification/prepare_sgxssl.sh nobuild 14+ # ./external/dcap_source/QuoteVerification/prepare_sgxssl.sh nobuild 15 cd external/openmp/openmp_code && git apply ../0001-Enable-OpenMP-in-SGX.patch >/dev/null 2>&1 || git apply ../0001-Enable-OpenMP-in-SGX.patch --check -R 16 cd external/protobuf/protobuf_code && git apply ../sgx_protobuf.patch >/dev/null 2>&1 || git apply ../sgx_protobuf.patch --check -R 17- cd external/protobuf/protobuf_code && git submodule update --init --recursive && cd third_party/abseil-cpp && git apply ../../../sgx_abseil.patch>/dev/null 2>&1 || git apply ../../../sgx_abseil.patch --check -R 18+ cd external/protobuf/protobuf_code && cd third_party/abseil-cpp && git apply ../../../sgx_abseil.patch>/dev/null 2>&1 || git apply ../../../sgx_abseil.patch --check -R 19 ./external/sgx-emm/create_symlink.sh 20 cd external/mbedtls/mbedtls_code && git apply ../sgx_mbedtls.patch >/dev/null 2>&1 || git apply ../sgx_mbedtls.patch --check -R 21 cd external/cbor && cp -r libcbor sgx_libcbor 22@@ -64,8 +64,8 @@ preparation: 23 cd external/cbor/sgx_libcbor && git apply ../sgx_cbor.patch >/dev/null 2>&1 || git apply ../sgx_cbor.patch --check -R 24 cd external/ippcp_internal/ipp-crypto && git apply ../0001-IPP-crypto-for-SGX.patch > /dev/null 2>&1 || git apply ../0001-IPP-crypto-for-SGX.patch --check -R 25 cd external/ippcp_internal/ipp-crypto && mkdir -p build 26- ./download_prebuilt.sh 27- ./external/dcap_source/QuoteGeneration/download_prebuilt.sh 28+ # ./download_prebuilt.sh 29+ # ./external/dcap_source/QuoteGeneration/download_prebuilt.sh 30 31 psw: 32 $(MAKE) -C psw/ USE_OPT_LIBS=$(USE_OPT_LIBS)