We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 500e624 commit 05769c8Copy full SHA for 05769c8
1 file changed
cmake/scripts/prep.sh
@@ -57,8 +57,7 @@ ln -snf ${HOME}/.cargo ${TEACLAVE_SYMLINKS}/cargo_home
57
ln -snf ${CMAKE_SOURCE_DIR} ${TEACLAVE_SYMLINKS}/teaclave_src
58
ln -snf ${CMAKE_BINARY_DIR} ${TEACLAVE_SYMLINKS}/teaclave_build
59
# cleanup sgx_unwind/libunwind
60
-(cd ${CMAKE_SOURCE_DIR}/third_party/crates-sgx/ && git clean -fdx vendor/sgx_unwind/libunwind/)
61
-if git submodule status | egrep -q '^[-]|^[+]'; then echo 'INFO: Need to reinitialize git submodules' && git submodule update --init --recursive; fi
+(cd ${CMAKE_SOURCE_DIR}/third_party/crates-sgx/ && if [ -d .git ]; then git clean -fdx vendor/sgx_unwind/libunwind/; fi)
62
rustup install --no-self-update ${RUSTUP_TOOLCHAIN} > /dev/null 2>&1
63
64
# build edl_libs
0 commit comments