Skip to content

Commit

Permalink
Set emcc optimisation level to -O1, since EM_JS snippets vanish at hi…
Browse files Browse the repository at this point in the history
…gher level #28
  • Loading branch information
jurihock committed Dec 12, 2023
1 parent 53c9dd8 commit 93cb22c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/StftPitchShift/WasmStftPitchShift.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ add_custom_command(
-s WASM=1
-s EXPORTED_RUNTIME_METHODS=allocateUTF8,UTF8ToString
-s EXPORTED_FUNCTIONS=_malloc,_free
-O2
-O1
-std=c++20
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
DEPENDS "${CMAKE_CURRENT_LIST_DIR}/wasm.cpp" VERBATIM)
Expand Down

0 comments on commit 93cb22c

Please sign in to comment.