File tree Expand file tree Collapse file tree 2 files changed +26
-27
lines changed Expand file tree Collapse file tree 2 files changed +26
-27
lines changed Original file line number Diff line number Diff line change 36
36
LLVM_EAGER_JIT_BUILD_OPTIONS : " -DWAMR_BUILD_AOT=1 -DWAMR_BUILD_FAST_INTERP=0 -DWAMR_BUILD_INTERP=0 -DWAMR_BUILD_FAST_JIT=0 -DWAMR_BUILD_JIT=1 -DWAMR_BUILD_LAZY_JIT=0"
37
37
MULTI_TIER_JIT_BUILD_OPTIONS : " -DWAMR_BUILD_AOT=1 -DWAMR_BUILD_FAST_INTERP=0 -DWAMR_BUILD_INTERP=1 -DWAMR_BUILD_FAST_JIT=1 -DWAMR_BUILD_JIT=1 -DWAMR_BUILD_LAZY_JIT=1"
38
38
# For Spec Test
39
- # FIXME: use binary release(adding -b) instead of building from source after upgrading to 22.04
40
- DEFAULT_TEST_OPTIONS : " -s spec -P"
41
- MULTI_MODULES_TEST_OPTIONS : " -s spec -M -P"
42
- SIMD_TEST_OPTIONS : " -s spec -S -P"
43
- THREADS_TEST_OPTIONS : " -s spec -p -P"
44
- X86_32_TARGET_TEST_OPTIONS : " -m x86_32 -P"
39
+ DEFAULT_TEST_OPTIONS : " -s spec -b -P"
40
+ MULTI_MODULES_TEST_OPTIONS : " -s spec -b -P -M"
41
+ SIMD_TEST_OPTIONS : " -s spec -b -P -S"
42
+ THREADS_TEST_OPTIONS : " -s spec -b -P -p"
43
+ X86_32_TARGET_TEST_OPTIONS : " -m x86_32"
45
44
WASI_TEST_OPTIONS : " -s wasi_certification -w"
46
45
47
46
permissions :
Original file line number Diff line number Diff line change @@ -362,31 +362,31 @@ function sightglass_test()
362
362
function setup_wabt()
363
363
{
364
364
# please sync with .github/actions/install-wasi-sdk-wabt/action.yml
365
+ case ${PLATFORM} in
366
+ cosmopolitan)
367
+ ;;
368
+ linux)
369
+ WABT_URL=https://github.com/WebAssembly/wabt/releases/download/1.0.37/wabt-1.0.37-ubuntu-20.04.tar.gz
370
+ WABT_VERSION=1.0.37
371
+ ;;
372
+ darwin)
373
+ WABT_URL=https://github.com/WebAssembly/wabt/releases/download/1.0.36/wabt-1.0.36-macos-12.tar.gz
374
+ WABT_VERSION=1.0.36
375
+ ;;
376
+ windows)
377
+ WABT_URL=https://github.com/WebAssembly/wabt/releases/download/1.0.37/wabt-1.0.37-windows.tar.gz
378
+ WABT_VERSION=1.0.37
379
+ ;;
380
+ * )
381
+ echo " wabt platform for ${PLATFORM} in unknown"
382
+ exit 1
383
+ ;;
384
+ esac
385
+
365
386
if [ ${WABT_BINARY_RELEASE} == " YES" ]; then
366
387
echo " download a binary release and install"
367
388
local WAT2WASM=${WORK_DIR} /wabt/out/gcc/Release/wat2wasm
368
389
if [ ! -f ${WAT2WASM} ]; then
369
- case ${PLATFORM} in
370
- cosmopolitan)
371
- ;;
372
- linux)
373
- WABT_URL=https://github.com/WebAssembly/wabt/releases/download/1.0.37/wabt-1.0.37-ubuntu-20.04.tar.gz
374
- WABT_VERSION=1.0.37
375
- ;;
376
- darwin)
377
- WABT_URL=https://github.com/WebAssembly/wabt/releases/download/1.0.36/wabt-1.0.36-macos-12.tar.gz
378
- WABT_VERSION=1.0.36
379
- ;;
380
- windows)
381
- WABT_URL=https://github.com/WebAssembly/wabt/releases/download/1.0.37/wabt-1.0.37-windows.tar.gz
382
- WABT_VERSION=1.0.37
383
- ;;
384
- * )
385
- echo " wabt platform for ${PLATFORM} in unknown"
386
- exit 1
387
- ;;
388
- esac
389
-
390
390
pushd /tmp
391
391
wget -O wabt-tar.gz --progress=dot:giga ${WABT_URL}
392
392
tar xf wabt-tar.gz
You can’t perform that action at this time.
0 commit comments