Skip to content

Commit

Permalink
wasm: Remove forcibly disabling AOT load on Apple Silicon macOS
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 committed Dec 20, 2023
1 parent dee91aa commit a338edf
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/wasm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ endif ()
if (NOT DEFINED WAMR_BUILD_TARGET)
if (CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm64|aarch64)")
set (WAMR_BUILD_TARGET "AARCH64")
if (FLB_SYSTEM_MACOS)
message(STATUS "macOS arm64 platform is poor support for AOT loading. Now disabling for it.")
set (WAMR_DISABLE_AOT_LOADING 1)
FLB_DEFINITION(FLB_WAMR_DISABLE_AOT_LOADING)
endif ()
# For raspbian/buster: armv6l-unknown-linux-gnueabihf
elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^(armv6.*|armv7.*)")
set (WAMR_BUILD_TARGET "ARM")
Expand Down

0 comments on commit a338edf

Please sign in to comment.