Enable WASI feature, enhance security and add SGX sample (#142)

Change emcc to clang
Refine interpreter to improve perforamnce
This commit is contained in:
Weining
2019-11-20 21:16:36 +08:00
committed by wenyongh
parent 29c7c743e9
commit 27f246b5f3
159 changed files with 9543 additions and 3789 deletions

View File

@ -0,0 +1,12 @@
# Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
set (WASI_LIB_DIR ${CMAKE_CURRENT_LIST_DIR})
if (WASM_ENABLE_WASI EQUAL 1)
include_directories(${WASI_LIB_DIR}/sandboxed-system-primitives/include
${WASI_LIB_DIR}/sandboxed-system-primitives/src
)
file (GLOB_RECURSE source_all ${WASI_LIB_DIR}/sandboxed-system-primitives/*.c )
set (WASI_LIB_SOURCE ${source_all})
endif ()