Update README.md and finalize the whisper.wasm example

This commit is contained in:
Georgi Gerganov
2022-10-22 18:17:08 +03:00
parent 491ecd7056
commit 6b45e37b2b
7 changed files with 39 additions and 6 deletions

View File

@@ -124,6 +124,7 @@ else()
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /arch:AVX2 /D_CRT_SECURE_NO_WARNINGS=1")
else()
if (EMSCRIPTEN)
# we require support for WASM SIMD 128-bit
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread -msimd128")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
else()