Update emsdk version, and enable multithreading on web
This commit is contained in:
parent
216469fab0
commit
435ee25848
6 changed files with 25 additions and 15 deletions
|
|
@ -1,12 +1,19 @@
|
|||
[settings]
|
||||
os=Emscripten
|
||||
arch=wasm
|
||||
compiler=clang
|
||||
compiler.version=15
|
||||
build_type=Release
|
||||
compiler=emcc
|
||||
compiler.cppstd=23
|
||||
compiler.libcxx=libc++
|
||||
build_type=Release
|
||||
# Optional settings to enable multithreading (see note below)
|
||||
compiler.threads=posix
|
||||
compiler.version=4.0.22
|
||||
os=Emscripten
|
||||
|
||||
[tool_requires]
|
||||
emsdk/4.0.22
|
||||
cmake/3.27.0
|
||||
emsdk/3.1.73
|
||||
|
||||
[conf]
|
||||
# Optional settings to enable memory allocation
|
||||
tools.build:exelinkflags=['-sALLOW_MEMORY_GROWTH=1', '-sMAXIMUM_MEMORY=4GB', '-sINITIAL_MEMORY=64MB', '-pthread']
|
||||
tools.build:sharedlinkflags=['-sALLOW_MEMORY_GROWTH=1', '-sMAXIMUM_MEMORY=4GB', '-sINITIAL_MEMORY=64MB', '-pthread']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue