Emscripten, CI: Use CMake toolchain file

This commit is contained in:
Paweł Bylica 2017-08-21 08:19:55 +02:00 committed by chriseth
parent e088f48c55
commit 6e9f93e043

View File

@ -61,7 +61,8 @@ echo -en 'travis_fold:start:compiling_solidity\\r'
cd $WORKSPACE
mkdir -p build
cd build
emcmake cmake \
cmake \
-DCMAKE_TOOLCHAIN_FILE=$EMSCRIPTEN/cmake/Modules/Platform/Emscripten.cmake \
-DCMAKE_BUILD_TYPE=Release \
-DEMSCRIPTEN=1 \
-DBoost_FOUND=1 \
@ -83,9 +84,8 @@ emcmake cmake \
make -j 4
cd ..
cp build/solc/soljson.js ./
mkdir -p upload
cp soljson.js upload/
cp build/solc/soljson.js upload/
OUTPUT_SIZE=`ls -la build/solc/soljson.js`