aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2017-12-13 22:05:55 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2017-12-13 22:05:55 +0800
commit7115d21cca282df36997a0b2bb1d3ce114aff39b (patch)
treebf48bfebcd518104799f929cc71084add1690c0e
parentd80d10da3934624503e45173bd51adc0669457ff (diff)
downloadtangerine-mcl-7115d21cca282df36997a0b2bb1d3ce114aff39b.tar.gz
tangerine-mcl-7115d21cca282df36997a0b2bb1d3ce114aff39b.tar.zst
tangerine-mcl-7115d21cca282df36997a0b2bb1d3ce114aff39b.zip
[she] increase TOTAL_MEMORY
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index be3e7fd..190506c 100644
--- a/Makefile
+++ b/Makefile
@@ -217,8 +217,8 @@ ifeq ($(MCL_USE_LLVM),2)
EMCC_OPT+=src/base64m.ll -DMCL_USE_LLVM
JS_DEP+=src/base64m.ll
endif
-../she-wasm/she_c.js: $(JS_DEP)
- emcc -o $@ src/fp.cpp src/she_c256.cpp $(EMCC_OPT)
+../she-wasm/she_c.js: $(JS_DEP) Makefile
+ emcc -o $@ src/fp.cpp src/she_c256.cpp $(EMCC_OPT) -s TOTAL_MEMORY=67108864
../mcl-wasm/mcl_c.js: src/fp.cpp src/bn_c256.cpp include/mcl/bn.h Makefile
emcc -o $@ src/fp.cpp src/bn_c256.cpp $(EMCC_OPT) -DMCLBN_USE_NEW_DESERIALIZE_API