Skip to content

Commit d827315

Browse files
authored
Enable XIP in CI daily test (#1793)
1 parent ef4e795 commit d827315

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/spec_test_on_nuttx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
wamr_test_option: [
2626
# "-t fast-interp",
2727
"-t aot",
28-
# "-t aot -X"
28+
"-t aot -X"
2929
]
3030
steps:
3131
- name: Install Utilities

tests/wamr-test-suites/spec-test-script/runtest.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -948,15 +948,15 @@ def compile_wasm_to_aot(wasm_tempfile, aot_tempfile, runner, opts, r, output = '
948948
elif test_target == "armv7":
949949
cmd += ["--target=armv7", "--target-abi=gnueabihf"]
950950
elif test_target == "thumbv7":
951-
cmd += ["--target=thumbv7", "--target-abi=gnueabihf", "--cpu=cortex-a9"]
951+
cmd += ["--target=thumbv7", "--target-abi=gnueabihf", "--cpu=cortex-a9", "--cpu-features=-neon"]
952952
elif test_target == "riscv32_ilp32":
953-
cmd += ["--target=riscv32", "--target-abi=ilp32"]
953+
cmd += ["--target=riscv32", "--target-abi=ilp32", "--cpu=generic-rv32", "--cpu-features=+m,+a,+c"]
954954
elif test_target == "riscv32_ilp32d":
955-
cmd += ["--target=riscv32", "--target-abi=ilp32d"]
955+
cmd += ["--target=riscv32", "--target-abi=ilp32d", "--cpu=generic-rv32", "--cpu-features=+m,+a,+c"]
956956
elif test_target == "riscv64_lp64":
957-
cmd += ["--target=riscv64", "--target-abi=lp64"]
957+
cmd += ["--target=riscv64", "--target-abi=lp64", "--cpu=generic-rv64", "--cpu-features=+m,+a,+c"]
958958
elif test_target == "riscv64_lp64d":
959-
cmd += ["--target=riscv64", "--target-abi=lp64d"]
959+
cmd += ["--target=riscv64", "--target-abi=lp64d", "--cpu=generic-rv32", "--cpu-features=+m,+a,+c"]
960960
else:
961961
pass
962962

0 commit comments

Comments
 (0)