Skip to content

Commit 8b62ad3

Browse files
committed
feat: update SGX compilation workflow to handle unsupported
FAST_JIT and classic interp mode without SIMD support
1 parent 6738762 commit 8b62ad3

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/compilation_on_sgx.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,13 @@ jobs:
114114
# MINI_LOADER only on INTERP mode
115115
- make_options_run_mode: $AOT_BUILD_OPTIONS
116116
make_options_feature: "-DWAMR_BUILD_MINI_LOADER=1"
117+
# FAST_JIT doesn't support MULTI_MODULE
118+
- make_options_run_mode: $FAST_JIT_BUILD_OPTIONS
119+
make_options_feature: "-DWAMR_BUILD_MULTI_MODULE=1"
120+
include:
121+
# classic interp mode doesn't support SIMD
122+
- make_options_run_mode: $CLASSIC_INTERP_BUILD_OPTIONS
123+
make_options_feature: "-DWAMR_BUILD_SIMD=0"
117124
steps:
118125
- name: checkout
119126
uses: actions/checkout@v5

product-mini/platforms/linux-sgx/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ if (NOT DEFINED WAMR_BUILD_FAST_INTERP)
7070
endif ()
7171

7272
if (NOT DEFINED WAMR_BUILD_MULTI_MODULE)
73-
# Enable multiple modules
73+
# Disable multiple modules
7474
set (WAMR_BUILD_MULTI_MODULE 0)
7575
endif ()
7676

0 commit comments

Comments
 (0)