Skip to content

Commit bf709c8

Browse files
committed
Update emscripten and mingw.
1 parent 53650c4 commit bf709c8

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ if (${EMSCRIPTEN})
297297

298298
target_link_options (OcctImportJS PUBLIC -sMODULARIZE=1)
299299
target_link_options (OcctImportJS PUBLIC -sEXPORT_NAME='occtimportjs')
300+
target_link_options (OcctImportJS PUBLIC -sSTACK_SIZE=10MB)
300301
target_link_options (OcctImportJS PUBLIC -sALLOW_MEMORY_GROWTH=1 --no-heap-copy)
301302
target_link_options (OcctImportJS PUBLIC -sNO_DISABLE_EXCEPTION_CATCHING)
302303

dist/occt-import-js.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/occt-import-js.wasm

-308 KB
Binary file not shown.

tools/setup_emscripten_win.bat

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ pushd %~dp0\..
22

33
call git clone https://github.com/emscripten-core/emsdk.git
44
call cd emsdk
5-
call emsdk install 3.1.10
6-
call emsdk activate 3.1.10
7-
call emsdk install mingw-4.6.2-32bit
8-
call emsdk activate mingw-4.6.2-32bit
5+
call emsdk install 3.1.28
6+
call emsdk activate 3.1.28
7+
call emsdk install mingw-7.1.0-64bit
8+
call emsdk activate mingw-7.1.0-64bit
99
call cd ..
1010

1111
popd

0 commit comments

Comments
 (0)