This is an automated email from the ASF dual-hosted git repository.

mssun pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave.git

commit a346b87301fabe9f0fd65cfe6cf992c19c9b4505
Author: Mingshen Sun <[email protected]>
AuthorDate: Sat Feb 8 16:31:41 2020 -0800

    [build] Cleanup the libunwind directory before build to avoid cargo rerun
---
 cmake/scripts/prep.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cmake/scripts/prep.sh b/cmake/scripts/prep.sh
index 4b6aef9..7e9d385 100755
--- a/cmake/scripts/prep.sh
+++ b/cmake/scripts/prep.sh
@@ -33,6 +33,8 @@ mkdir -p /tmp/mesatee_symlinks
 ln -snf ${HOME}/.cargo /tmp/mesatee_symlinks/cargo_home
 ln -snf ${CMAKE_SOURCE_DIR} /tmp/mesatee_symlinks/mesatee_src
 ln -snf ${CMAKE_BINARY_DIR} /tmp/mesatee_symlinks/mesatee_build
+# cleanup sgx_unwind/libunwind
+(cd ${CMAKE_SOURCE_DIR}/third_party/crates-sgx/ && git clean -fdx 
vendor/sgx_unwind/libunwind/)
 if git submodule status | egrep -q '^[-]|^[+]'; then echo 'INFO: Need to 
reinitialize git submodules' && git submodule update --init --recursive; fi
 rustup install --no-self-update ${RUSTUP_TOOLCHAIN} > /dev/null 2>&1
 # get mesapy


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to