mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Emscripten, CI: Use CMake toolchain file
This commit is contained in:
parent
e088f48c55
commit
6e9f93e043
@ -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`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user