mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2024-11-26 15:32:05 +00:00
Fix build polybench benchmark error with wasi-sdk-19.0 (#2187)
This commit is contained in:
parent
7f5d9d4f5e
commit
28274bed34
|
@ -34,7 +34,8 @@ do
|
|||
utilities/polybench.c ${file} \
|
||||
-Wl,--export=__heap_base -Wl,--export=__data_end \
|
||||
-Wl,--export=malloc -Wl,--export=free \
|
||||
-DPOLYBENCH_TIME -o ${OUT_DIR}/${file_name%.*}.wasm
|
||||
-DPOLYBENCH_TIME -o ${OUT_DIR}/${file_name%.*}.wasm \
|
||||
-D_WASI_EMULATED_PROCESS_CLOCKS
|
||||
|
||||
echo "Compile ${file_name%.*}.wasm into ${file_name%.*}.aot"
|
||||
${WAMRC_CMD} -o ${OUT_DIR}/${file_name%.*}.aot \
|
||||
|
|
Loading…
Reference in New Issue
Block a user