!173 add codegen compile marco
From: @zhengxiaoxiaoGitee Reviewed-by: @houmingyong Signed-off-by: @houmingyong
This commit is contained in:
commit
b220f4c339
29
backport-add-codegen-compile-marco.patch
Normal file
29
backport-add-codegen-compile-marco.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From 088eca103708b2d54c4fe46f6dc2da7a21f4f0da Mon Sep 17 00:00:00 2001
|
||||||
|
From: houmingyong <houmingyong@huawei.com>
|
||||||
|
Date: Thu, 7 Dec 2023 14:08:36 +0800
|
||||||
|
Subject: [PATCH] add codegen compile marco
|
||||||
|
|
||||||
|
Reference:https://gitee.com/openeuler/secGear/commit/088eca103708b2d54c4fe46f6dc2da7a21f4f0da
|
||||||
|
Conflict:Deleted the PL part from the patch.
|
||||||
|
---
|
||||||
|
CMakeLists.txt | 5 ++++-
|
||||||
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index 25e6381..8a6f22b 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -74,7 +74,10 @@ if(${ENCLAVE} STREQUAL "SGX")
|
||||||
|
set(CC_SGX ON)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
-add_subdirectory(tools/codegener)
|
||||||
|
+option(CODEGEN "default off" ON)
|
||||||
|
+if(CODEGEN)
|
||||||
|
+ add_subdirectory(tools/codegener)
|
||||||
|
+endif()
|
||||||
|
|
||||||
|
add_subdirectory(src)
|
||||||
|
add_subdirectory(component)
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: secGear
|
Name: secGear
|
||||||
Version: 0.1.0
|
Version: 0.1.0
|
||||||
Release: 45
|
Release: 46
|
||||||
Summary: secGear is an SDK to develop confidential computing apps based on hardware enclave features
|
Summary: secGear is an SDK to develop confidential computing apps based on hardware enclave features
|
||||||
|
|
||||||
|
|
||||||
@ -82,6 +82,7 @@ Patch69: 0070-sign-tool-add-invalid-param-verify.patch
|
|||||||
Patch70: 0071-adapt-report-with-request-key.patch
|
Patch70: 0071-adapt-report-with-request-key.patch
|
||||||
Patch71: backport-use-memset-instead-of-explicit_bzero.patch
|
Patch71: backport-use-memset-instead-of-explicit_bzero.patch
|
||||||
Patch72: backport-memset-no-optimize.patch
|
Patch72: backport-memset-no-optimize.patch
|
||||||
|
Patch73: backport-add-codegen-compile-marco.patch
|
||||||
|
|
||||||
BuildRequires: gcc python automake autoconf libtool
|
BuildRequires: gcc python automake autoconf libtool
|
||||||
BUildRequires: glibc glibc-devel cmake ocaml-dune rpm gcc-c++ compat-openssl11-libs compat-openssl11-devel
|
BUildRequires: glibc glibc-devel cmake ocaml-dune rpm gcc-c++ compat-openssl11-libs compat-openssl11-devel
|
||||||
@ -213,6 +214,9 @@ popd
|
|||||||
systemctl restart rsyslog
|
systemctl restart rsyslog
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 29 2024 zhengxiaoxiao <zhengxiaoxiao2@huawei.com> - 0.1.0-46
|
||||||
|
- add codegen compile marco
|
||||||
|
|
||||||
* Wed Mar 27 2024 zhengxiaoxiao <zhengxiaoxiao2@huawei.com> - 0.1.0-45
|
* Wed Mar 27 2024 zhengxiaoxiao <zhengxiaoxiao2@huawei.com> - 0.1.0-45
|
||||||
- Keep the 24.03 branch of the secGear consistent with the 22.03-LTS-SP3 release
|
- Keep the 24.03 branch of the secGear consistent with the 22.03-LTS-SP3 release
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user