Skip to content

Commit

Permalink
Bumped up the stack size.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Jul 17, 2023
1 parent 6b4287e commit 1ccdbc3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ add_executable(
)

target_compile_options(
scran_wasm PUBLIC -O3 -s USE_PTHREADS=1
scran_wasm PUBLIC
-O3
-sUSE_PTHREADS=1
)

target_link_libraries(
Expand All @@ -69,10 +71,11 @@ target_link_libraries(
target_compile_definitions(scran_wasm PRIVATE TATAMI_USE_ZLIB=1)

target_link_options(scran_wasm PRIVATE
-O3
-O3
--bind
-sALLOW_MEMORY_GROWTH=1
-sMAXIMUM_MEMORY=4GB
-sSTACK_SIZE=2MB
-sUSE_ZLIB=1
-sMODULARIZE=1
-sEXPORT_NAME=loadScran
Expand Down

0 comments on commit 1ccdbc3

Please sign in to comment.