aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-08-02 04:45:21 +0800
committerchriseth <c@ethdev.com>2016-08-02 04:45:50 +0800
commit1445284a785898f676ba1c9dddd199618297e6c3 (patch)
treeffbe6caef83e4426971ff5733f6ea8657c2da546 /scripts
parent1753c258a3e8e8669083ae593283999390f60d90 (diff)
downloaddexon-solidity-1445284a785898f676ba1c9dddd199618297e6c3.tar.gz
dexon-solidity-1445284a785898f676ba1c9dddd199618297e6c3.tar.zst
dexon-solidity-1445284a785898f676ba1c9dddd199618297e6c3.zip
Build emscripten in build-emscripten to separate cache.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/travis-emscripten/build_emscripten.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/travis-emscripten/build_emscripten.sh b/scripts/travis-emscripten/build_emscripten.sh
index 5726b840..abdf401f 100755
--- a/scripts/travis-emscripten/build_emscripten.sh
+++ b/scripts/travis-emscripten/build_emscripten.sh
@@ -85,8 +85,8 @@ echo -en 'travis_fold:end:compiling_boost\\r'
# Build dependent components and solidity itself
echo -en 'travis_fold:start:compiling_solidity\\r'
cd $WORKSPACE
-mkdir -p build
-cd build
+mkdir -p build-emscripten
+cd build-emscripten
emcmake cmake \
-DCMAKE_BUILD_TYPE=Release \
-DEMSCRIPTEN=1 \
@@ -125,7 +125,6 @@ emcmake cmake \
emmake make -j 4
cd ..
-cp build/solc/soljson.js ./
-rm -rf build
+cp build-emscripten/solc/soljson.js ./
echo -en 'travis_fold:end:compiling_solidity\\r'