diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-06-20 08:58:02 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-06-20 08:58:02 +0200 |
commit | 94fbaff58ff4e99f81c4876a0f820ca74a0ad08a (patch) | |
tree | 2f28f035158ea498a5f2399e27a84491a06b6366 /Makefile | |
parent | 3123c454153f1d40a3839ffe1791de5c2d048693 (diff) | |
download | yosys-94fbaff58ff4e99f81c4876a0f820ca74a0ad08a.tar.gz yosys-94fbaff58ff4e99f81c4876a0f820ca74a0ad08a.tar.bz2 yosys-94fbaff58ff4e99f81c4876a0f820ca74a0ad08a.zip |
Using static mem size of 128 MB in emcc build
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -99,7 +99,7 @@ CXXFLAGS := -std=c++11 $(filter-out -fPIC -ggdb,$(CXXFLAGS)) EMCCFLAGS := -Os -Wno-warn-absolute-paths EMCCFLAGS += --memory-init-file 0 --embed-file share -s NO_EXIT_RUNTIME=1 EMCCFLAGS += -s EXPORTED_FUNCTIONS="['_main','_run','_prompt','_errmsg']" -EMCCFLAGS += -s DISABLE_EXCEPTION_CATCHING=0 -s ALLOW_MEMORY_GROWTH=1 +EMCCFLAGS += -s TOTAL_MEMORY=128*1024*1024 # https://github.com/kripken/emscripten/blob/master/src/settings.js CXXFLAGS += $(EMCCFLAGS) LDFLAGS += $(EMCCFLAGS) |