mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-13 21:21:22 +00:00
Fix a typo in workflow (#1760)
This commit is contained in:
parent
f8701560df
commit
216b2cb540
|
@ -47,12 +47,12 @@ concurrency:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# For BUILD
|
# For BUILD
|
||||||
AOT_BUILD_OPTIONS: " -DWAMR_BUILD_AOT=1 -DWAMR_BUILD_FAST_INTERP=0 -DWAMR_BUILD_INTERP=0 _DWAMR_BUILD_FAST_JIT=0 -DWAMR_BUILD_JIT=0 -DWAMR_BUILD_LAZY_JIT=0"
|
AOT_BUILD_OPTIONS: " -DWAMR_BUILD_AOT=1 -DWAMR_BUILD_FAST_INTERP=0 -DWAMR_BUILD_INTERP=0 -DWAMR_BUILD_FAST_JIT=0 -DWAMR_BUILD_JIT=0 -DWAMR_BUILD_LAZY_JIT=0"
|
||||||
CLASSIC_INTERP_BUILD_OPTIONS: "-DWAMR_BUILD_AOT=0 -DWAMR_BUILD_FAST_INTERP=0 -DWAMR_BUILD_INTERP=1 _DWAMR_BUILD_FAST_JIT=0 -DWAMR_BUILD_JIT=0 -DWAMR_BUILD_LAZY_JIT=0"
|
CLASSIC_INTERP_BUILD_OPTIONS: "-DWAMR_BUILD_AOT=0 -DWAMR_BUILD_FAST_INTERP=0 -DWAMR_BUILD_INTERP=1 -DWAMR_BUILD_FAST_JIT=0 -DWAMR_BUILD_JIT=0 -DWAMR_BUILD_LAZY_JIT=0"
|
||||||
FAST_INTERP_BUILD_OPTIONS: " -DWAMR_BUILD_AOT=0 -DWAMR_BUILD_FAST_INTERP=1 -DWAMR_BUILD_INTERP=1 _DWAMR_BUILD_FAST_JIT=0 -DWAMR_BUILD_JIT=0 -DWAMR_BUILD_LAZY_JIT=0"
|
FAST_INTERP_BUILD_OPTIONS: " -DWAMR_BUILD_AOT=0 -DWAMR_BUILD_FAST_INTERP=1 -DWAMR_BUILD_INTERP=1 -DWAMR_BUILD_FAST_JIT=0 -DWAMR_BUILD_JIT=0 -DWAMR_BUILD_LAZY_JIT=0"
|
||||||
FAST_JIT_BUILD_OPTIONS: " -DWAMR_BUILD_AOT=1 -DWAMR_BUILD_FAST_INTERP=0 -DWAMR_BUILD_INTERP=0 _DWAMR_BUILD_FAST_JIT=1 -DWAMR_BUILD_JIT=0 -DWAMR_BUILD_LAZY_JIT=0"
|
FAST_JIT_BUILD_OPTIONS: " -DWAMR_BUILD_AOT=1 -DWAMR_BUILD_FAST_INTERP=0 -DWAMR_BUILD_INTERP=0 -DWAMR_BUILD_FAST_JIT=1 -DWAMR_BUILD_JIT=0 -DWAMR_BUILD_LAZY_JIT=0"
|
||||||
LLVM_LAZY_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=1"
|
LLVM_LAZY_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=1"
|
||||||
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"
|
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"
|
||||||
# LLVM
|
# LLVM
|
||||||
LLVM_CACHE_SUFFIX: "build-llvm_libraries_ex"
|
LLVM_CACHE_SUFFIX: "build-llvm_libraries_ex"
|
||||||
# For Spec Test
|
# For Spec Test
|
||||||
|
@ -183,6 +183,9 @@ jobs:
|
||||||
make_options_feature: "-DWAMR_BUILD_MINI_LOADER=1"
|
make_options_feature: "-DWAMR_BUILD_MINI_LOADER=1"
|
||||||
- make_options_run_mode: $LLVM_EAGER_JIT_BUILD_OPTIONS
|
- make_options_run_mode: $LLVM_EAGER_JIT_BUILD_OPTIONS
|
||||||
make_options_feature: "-DWAMR_BUILD_MINI_LOADER=1"
|
make_options_feature: "-DWAMR_BUILD_MINI_LOADER=1"
|
||||||
|
# Fast-JIT mode doesn't support android(X86-32)
|
||||||
|
- make_options_run_mode: $FAST_JIT_BUILD_OPTIONS
|
||||||
|
platform: android
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
|
@ -1286,11 +1286,8 @@ jit_compile_func(JitCompContext *cc)
|
||||||
|
|
||||||
#if WASM_ENABLE_TAIL_CALL != 0
|
#if WASM_ENABLE_TAIL_CALL != 0
|
||||||
case WASM_OP_RETURN_CALL:
|
case WASM_OP_RETURN_CALL:
|
||||||
if (!cc->enable_tail_call) {
|
|
||||||
jit_set_last_error(cc, "unsupported opcode");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
read_leb_uint32(frame_ip, frame_ip_end, func_idx);
|
read_leb_uint32(frame_ip, frame_ip_end, func_idx);
|
||||||
|
|
||||||
if (!jit_compile_op_call(cc, func_idx, true))
|
if (!jit_compile_op_call(cc, func_idx, true))
|
||||||
return false;
|
return false;
|
||||||
if (!jit_compile_op_return(cc, &frame_ip))
|
if (!jit_compile_op_return(cc, &frame_ip))
|
||||||
|
@ -1301,11 +1298,6 @@ jit_compile_func(JitCompContext *cc)
|
||||||
{
|
{
|
||||||
uint32 tbl_idx;
|
uint32 tbl_idx;
|
||||||
|
|
||||||
if (!cc->enable_tail_call) {
|
|
||||||
jit_set_last_error(cc, "unsupported opcode");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
read_leb_uint32(frame_ip, frame_ip_end, type_idx);
|
read_leb_uint32(frame_ip, frame_ip_end, type_idx);
|
||||||
#if WASM_ENABLE_REF_TYPES != 0
|
#if WASM_ENABLE_REF_TYPES != 0
|
||||||
read_leb_uint32(frame_ip, frame_ip_end, tbl_idx);
|
read_leb_uint32(frame_ip, frame_ip_end, tbl_idx);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user