Skip to content

Commit 6738762

Browse files
committed
feat: update Android and macOS workflows to handle SIMD support in classic interp mode
1 parent 5fc7a0f commit 6738762

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/compilation_on_android_ubuntu.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,15 @@ jobs:
265265
# android does not support WAMR_BUILD_SHARED in its CMakeLists.txt.
266266
- make_options_feature: "-DWAMR_BUILD_SHARED=1"
267267
platform: android
268+
# classic interp mode doesn't support SIMD
269+
- make_options_run_mode: $CLASSIC_INTERP_BUILD_OPTIONS
270+
make_options_feature: "-DWAMR_BUILD_SIMD=1"
268271
include:
269272
- os: ubuntu-22.04
270273
llvm_cache_key: ${{ needs.build_llvm_libraries_on_ubuntu_2204.outputs.cache_key }}
274+
# classic interp mode doesn't support SIMD
275+
- make_options_run_mode: $CLASSIC_INTERP_BUILD_OPTIONS
276+
make_options_feature: "-DWAMR_BUILD_SIMD=0"
271277
steps:
272278
- name: checkout
273279
uses: actions/checkout@v5

.github/workflows/compilation_on_macos.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,15 @@ jobs:
185185
make_options_feature: "-DWAMR_BUILD_MINI_LOADER=1"
186186
- make_options_run_mode: $LLVM_EAGER_JIT_BUILD_OPTIONS
187187
make_options_feature: "-DWAMR_BUILD_MINI_LOADER=1"
188+
# classic interp mode doesn't support SIMD
189+
- make_options_run_mode: $CLASSIC_INTERP_BUILD_OPTIONS
190+
make_options_feature: "-DWAMR_BUILD_SIMD=1"
188191
include:
189192
- os: macos-13
190193
llvm_cache_key: ${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}
194+
# classic interp mode doesn't support SIMD
195+
- make_options_run_mode: $CLASSIC_INTERP_BUILD_OPTIONS
196+
make_options_feature: "-DWAMR_BUILD_SIMD=0"
191197
steps:
192198
- name: checkout
193199
uses: actions/checkout@v5

0 commit comments

Comments
 (0)