Fix fast-jit build error (#2023)

This commit is contained in:
Wenyong Huang 2023-03-12 20:17:49 +08:00 committed by GitHub
parent ea6cef7e51
commit 578fbc5a55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,11 +16,13 @@ if (WAMR_BUILD_TARGET STREQUAL "X86_64" OR WAMR_BUILD_TARGET STREQUAL "AMD_64")
FetchContent_Declare(
asmjit
GIT_REPOSITORY https://github.com/asmjit/asmjit.git
GIT_TAG c1019f1642a588107148f64ba54584b0ae3ec8d1
)
else ()
FetchContent_Declare(
asmjit
GIT_REPOSITORY https://github.com/asmjit/asmjit.git
GIT_TAG c1019f1642a588107148f64ba54584b0ae3ec8d1
PATCH_COMMAND git apply ${IWASM_FAST_JIT_DIR}/asmjit_sgx_patch.diff
)
endif ()