mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update emscripten Dockerfile to 3.1.19
This commit is contained in:
@@ -40,7 +40,8 @@ else
|
||||
BUILD_DIR="$1"
|
||||
fi
|
||||
|
||||
apt-get update && apt-get install lz4
|
||||
apt-get update
|
||||
apt-get install lz4 --no-install-recommends
|
||||
|
||||
WORKSPACE=/root/project
|
||||
|
||||
@@ -61,12 +62,20 @@ then
|
||||
echo -n "$CIRCLE_SHA1" >commit_hash.txt
|
||||
fi
|
||||
|
||||
# Disable warnings for unqualified "move()" calls, introduced and enabled by
|
||||
# default in clang-16 which is what the emscripten docker image uses.
|
||||
# Additionally, disable the warning for unknown warnings here, as this script is
|
||||
# also used with earlier clang versions.
|
||||
CMAKE_CXX_FLAGS="-Wno-unqualified-std-cast-call -Wno-unknown-warning-option"
|
||||
|
||||
|
||||
mkdir -p "$BUILD_DIR"
|
||||
cd "$BUILD_DIR"
|
||||
emcmake cmake \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DBoost_USE_STATIC_LIBS=1 \
|
||||
-DBoost_USE_STATIC_RUNTIME=1 \
|
||||
-DCMAKE_CXX_FLAGS="${CMAKE_CXX_FLAGS}" \
|
||||
-DTESTS=0 \
|
||||
..
|
||||
make soljson
|
||||
|
||||
Reference in New Issue
Block a user