Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 28 lines 1.9 kB view raw
1diff --git a/Makefile b/Makefile 2index 73502a7..f24bd11 100644 3--- a/Makefile 4+++ b/Makefile 5@@ -50,18 +50,18 @@ 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- ./external/dcap_source/QuoteVerification/prepare_sgxssl.sh nobuild 11+ # git submodule update --init --recursive 12+ # ./external/dcap_source/QuoteVerification/prepare_sgxssl.sh nobuild 13 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 14 cd external/protobuf/protobuf_code && git apply ../sgx_protobuf.patch >/dev/null 2>&1 || git apply ../sgx_protobuf.patch --check -R 15- 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 16+ 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 17 ./external/sgx-emm/create_symlink.sh 18 cd external/mbedtls/mbedtls_code && git apply ../sgx_mbedtls.patch >/dev/null 2>&1 || git apply ../sgx_mbedtls.patch --check -R 19 cd external/cbor && cp -r libcbor sgx_libcbor 20 cd external/cbor/libcbor && git apply ../raw_cbor.patch >/dev/null 2>&1 || git apply ../raw_cbor.patch --check -R 21 cd external/cbor/sgx_libcbor && git apply ../sgx_cbor.patch >/dev/null 2>&1 || git apply ../sgx_cbor.patch --check -R 22- ./download_prebuilt.sh 23- ./external/dcap_source/QuoteGeneration/download_prebuilt.sh 24+ # ./download_prebuilt.sh 25+ # ./external/dcap_source/QuoteGeneration/download_prebuilt.sh 26 27 psw: 28 $(MAKE) -C psw/ USE_OPT_LIBS=$(USE_OPT_LIBS)