You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by ms...@apache.org on 2021/12/22 03:15:59 UTC

[incubator-teaclave] branch master updated: Fix target depends to avoid issues in parallel make (#596)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 8d8952e  Fix target depends to avoid issues in parallel make (#596)
8d8952e is described below

commit 8d8952e0cd649e0e26089d5c02067dbdc2350f11
Author: Mingshen Sun <bo...@mssun.me>
AuthorDate: Tue Dec 21 19:15:54 2021 -0800

    Fix target depends to avoid issues in parallel make (#596)
---
 CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 97bb26f..ff7b657 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -195,6 +195,7 @@ add_custom_command(
   COMMAND
     wget -qN https://mesapy.org/release/${MESAPY_VERSION}-mesapy-sgx.tar.gz &&
     tar xzf ${MESAPY_VERSION}-mesapy-sgx.tar.gz
+  DEPENDS prep
   WORKING_DIRECTORY ${TEACLAVE_OUT_DIR})
 else()
   add_custom_command(
@@ -208,6 +209,7 @@ else()
         sgx/sgx_ulibc/libsgx_ulibc.a
         sgx/examples/exec/Enclave/src/ffi.o
         ${TEACLAVE_OUT_DIR}
+    DEPENDS prep
     WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/third_party/mesapy)
 endif()
 

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org