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
WAMR v1.3.0 can handle AOT on Apple Silicon macOS.

Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 authored and edsiper committed Dec 20, 2023
1 parent fa6a248 commit 352b54e
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 352b54e

Please sign in to comment.