Enable static PGO for Linux SGX (#2270)
Enable static PGO for Linux SGX and update the related benchmarks test scripts and documents.
This commit is contained in:
@ -5,8 +5,13 @@
|
||||
|
||||
PLATFORM=$(uname -s | tr A-Z a-z)
|
||||
|
||||
IWASM="../../../product-mini/platforms/${PLATFORM}/build/iwasm"
|
||||
WAMRC="../../../wamr-compiler/build/wamrc"
|
||||
if [ "$1" = "--sgx" ] && [ "$PLATFORM" = "linux" ]; then
|
||||
IWASM="../../../product-mini/platforms/${PLATFORM}-sgx/enclave-sample/iwasm"
|
||||
WAMRC="../../../wamr-compiler/build/wamrc -sgx"
|
||||
else
|
||||
IWASM="../../../product-mini/platforms/${PLATFORM}/build/iwasm"
|
||||
WAMRC="../../../wamr-compiler/build/wamrc"
|
||||
fi
|
||||
|
||||
if [ ! -e "coremark.wasm" ]; then
|
||||
echo "coremark.wasm doesn't exist, please run build.sh first"
|
||||
|
||||
Reference in New Issue
Block a user