Merge pull request #791 from chriseth/emscrip

Further tweaks to the build.
This commit is contained in:
chriseth 2016-08-01 23:40:53 +02:00 committed by GitHub
commit fb90e8876f
2 changed files with 5 additions and 10 deletions

View File

@ -5,12 +5,6 @@
# #
# http://solidity.readthedocs.org # http://solidity.readthedocs.org
# #
# TODO - Merge with .travis.yml file which currently lives in the root of
# webthree-umbrella, but actually contains the automation for the Solidity
# Emscripten build, which will also need consolidating into here somehow.
#
# See https://github.com/ethereum/webthree-umbrella/blob/develop/.travis.yml
#
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# This file is part of cpp-ethereum. # This file is part of cpp-ethereum.
# #
@ -74,6 +68,8 @@ git:
cache: cache:
ccache: true ccache: true
directories: directories:
- build
- build-emscripten
- boost_1_57_0 - boost_1_57_0
- jsoncpp - jsoncpp
- cryptopp - cryptopp

View File

@ -85,8 +85,8 @@ echo -en 'travis_fold:end:compiling_boost\\r'
# Build dependent components and solidity itself # Build dependent components and solidity itself
echo -en 'travis_fold:start:compiling_solidity\\r' echo -en 'travis_fold:start:compiling_solidity\\r'
cd $WORKSPACE cd $WORKSPACE
mkdir -p build mkdir -p build-emscripten
cd build cd build-emscripten
emcmake cmake \ emcmake cmake \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DEMSCRIPTEN=1 \ -DEMSCRIPTEN=1 \
@ -125,7 +125,6 @@ emcmake cmake \
emmake make -j 4 emmake make -j 4
cd .. cd ..
cp build/solc/soljson.js ./ cp build-emscripten/solc/soljson.js ./
rm -rf build
echo -en 'travis_fold:end:compiling_solidity\\r' echo -en 'travis_fold:end:compiling_solidity\\r'