Skip to content

Commit

Permalink
allow dynamic memory allocation
Browse files Browse the repository at this point in the history
fixes #9
  • Loading branch information
lovasoa committed Dec 19, 2021
1 parent 1ab01a6 commit 77bbabd
Show file tree
Hide file tree
Showing 4 changed files with 953 additions and 1 deletion.
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ emcc -O3 \
-s EXPORTED_FUNCTIONS="@$root/exported_functions.json" \
-s EXTRA_EXPORTED_RUNTIME_METHODS="['cwrap']" \
-s MODULARIZE=1 \
-s ALLOW_MEMORY_GROWTH=1 \
-flto \
--closure 1 \
--pre-js "$root/src/pre.js" \
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "highs",
"version": "0.4.6",
"version": "0.4.7",
"description": "This is a javascript mixed integer linear programming library. It is built by compiling HiGHS to WebAssembly using emscripten.",
"main": "build/highs.js",
"types": "types.d.ts",
Expand Down
Loading

0 comments on commit 77bbabd

Please sign in to comment.