Compare commits

..

2 Commits

Author SHA1 Message Date
Zhenwei Jin
29f72f56e6
Merge 4d1f15d5e0 into 0e8b57d8a8 2025-05-07 06:03:47 +00:00
zhenweijin
4d1f15d5e0 disable compiler to prevent get_current_target() crash 2025-05-07 14:02:15 +08:00
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ if (WAMR_BUILD_AOT_VALIDATOR EQUAL 1)
list (APPEND c_source_all ${IWASM_AOT_DIR}/aot_validator.c)
endif ()
if (WAMR_BUILD_WAMR_COMPILER EQUAL 1 AND WAMR_BUILD_AOT EQUAL 0)
if (WAMR_BUILD_WAMR_COMPILER EQUAL 1)
# AOT reloc functions are not used during AOT compilation
set (arch_source ${IWASM_AOT_DIR}/arch/aot_reloc_dummy.c)
elseif (WAMR_BUILD_TARGET STREQUAL "X86_64" OR WAMR_BUILD_TARGET STREQUAL "AMD_64")

View File

@ -6,7 +6,7 @@ if(NOT WAMR_BUILD_INTERP)
set(WAMR_BUILD_INTERP 1)
endif()
set(WAMR_BUILD_WAMR_COMPILER 1)
set(WAMR_BUILD_WAMR_COMPILER 0)
set(WAMR_BUILD_AOT 1)
set(WAMR_BUILD_INTERP 1)
set(WAMR_BUILD_JIT 0)