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 20342d1  Do not generate enclave_info when building teaclave_sgx_tool 
(#595)
20342d1 is described below

commit 20342d1dee52ab78dda2294a98f47c7f47f1a34e
Author: Mingshen Sun <[email protected]>
AuthorDate: Tue Dec 21 19:15:40 2021 -0800

    Do not generate enclave_info when building teaclave_sgx_tool (#595)
---
 cmake/TeaclaveUtils.cmake | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/cmake/TeaclaveUtils.cmake b/cmake/TeaclaveUtils.cmake
index 9853c82..144a0f7 100644
--- a/cmake/TeaclaveUtils.cmake
+++ b/cmake/TeaclaveUtils.cmake
@@ -245,6 +245,10 @@ function(add_enclave_sig_target_n_hooks)
   # Hook the convenience targets for SGX modules so manually `make 
teaclave_execution_service/teaclave_frontend_service/...`
   # will trigger updating enclave sig files
   foreach(sgx_module ${SGX_MODULES})
+    if(sgx_module MATCHES "_tool$")
+      continue()
+    endif()
+
     add_custom_command(
       TARGET ${sgx_module}
       POST_BUILD

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

Reply via email to