Diasble AOT in SGX build by default, as it requires SGX SDKv2.8 or la… (#180)

* Diasble AOT in SGX build by default, as it requires SGX SDKv2.8 or later.

* Update bh_platform.c

Co-authored-by: daomingq <daomingq@users.noreply.github.com>
Co-authored-by: wenyongh <wenyong.huang@intel.com>
This commit is contained in:
qdaoming-intel
2020-02-25 16:00:37 +08:00
committed by GitHub
parent 76eea80046
commit 7962c47085
2 changed files with 15 additions and 2 deletions

View File

@ -32,8 +32,9 @@ if (NOT DEFINED WAMR_BUILD_INTERP)
endif ()
if (NOT DEFINED WAMR_BUILD_AOT)
# Enable AOT by default.
set (WAMR_BUILD_AOT 1)
# Disable AOT by default.
# If enabling AOT, please install Intel SGX SDKv2.8 or later.
set (WAMR_BUILD_AOT 0)
endif ()
if (NOT DEFINED WAMR_BUILD_JIT)