Skip to content

Commit

Permalink
Emscripten, CI: Use CMake toolchain file
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast authored and chriseth committed Aug 25, 2017
1 parent e088f48 commit 6e9f93e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/travis-emscripten/build_emscripten.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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`

Expand Down

0 comments on commit 6e9f93e

Please sign in to comment.