Fix compile errors on workload bwa and benchmark jetstream (#3617)

Error was reported when building jetstream benchmark with emsdk:
```
clang: error: unsupported option '-msse2' for target 'wasm32-wasi'
```

Error was reported when building bwa workload:
```
fatal: reference is not a tree: 139f68fc4c3747813783a488aef2adc86626b01b
```
This commit is contained in:
Wenyong Huang
2024-07-12 16:58:10 +08:00
committed by GitHub
parent 73caf19e69
commit c254bffbc5
3 changed files with 3 additions and 4 deletions

View File

@ -16,7 +16,7 @@ mkdir -p ${OUT_DIR}
if [[ $1 != "--no-simd" ]];then
NATIVE_SIMD_FLAGS="-msse2 -msse3 -msse4"
WASM_SIMD_FLAGS="-msimd128 -msse2 -msse3 -msse4"
WASM_SIMD_FLAGS="-msimd128"
else
NATIVE_SIMD_FLAGS=""
WASM_SIMD_FLAGS=""