aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-02-08 03:27:16 +0800
committerchriseth <chris@ethereum.org>2018-02-08 03:27:16 +0800
commitc9a032a1e2600f732869a938d8cd349775f686e3 (patch)
treecadb521794a74951c495267c70a87e613746d86c /scripts
parentc961a3079dda8735363872cdb84c489d61846003 (diff)
downloaddexon-solidity-c9a032a1e2600f732869a938d8cd349775f686e3.tar.gz
dexon-solidity-c9a032a1e2600f732869a938d8cd349775f686e3.tar.zst
dexon-solidity-c9a032a1e2600f732869a938d8cd349775f686e3.zip
Larger stack for nodejs when building via emscripten.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/travis-emscripten/build_emscripten.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/travis-emscripten/build_emscripten.sh b/scripts/travis-emscripten/build_emscripten.sh
index 56826997..9520a7e8 100755
--- a/scripts/travis-emscripten/build_emscripten.sh
+++ b/scripts/travis-emscripten/build_emscripten.sh
@@ -42,6 +42,10 @@ fi
WORKSPACE=/root/project
+# Increase nodejs stack size
+sed -i -e 's/NODE_JS="nodejs"/NODE_JS=["nodejs", "--stack_size=8192"]/' /root/.emscripten
+
+
# Boost
echo -en 'travis_fold:start:compiling_boost\\r'
cd "$WORKSPACE"/boost_1_57_0