mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #7212 from ethereum/removeSharedZ3Docker
Remove the shared Z3 build from the testing Dockerfile.
This commit is contained in:
commit
05940ef64a
@ -46,16 +46,6 @@ RUN set -ex; \
|
|||||||
|
|
||||||
FROM base AS libraries
|
FROM base AS libraries
|
||||||
|
|
||||||
# Z3
|
|
||||||
RUN set -ex; \
|
|
||||||
git clone --depth=1 --branch="Z3-4.8.5" https://github.com/Z3Prover/z3.git /usr/src/z3; \
|
|
||||||
mkdir /usr/src/z3/build; \
|
|
||||||
cd /usr/src/z3/build; \
|
|
||||||
cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="/usr" -G "Ninja" ..; \
|
|
||||||
ninja; \
|
|
||||||
ninja install/strip; \
|
|
||||||
rm -rf /usr/src/z3
|
|
||||||
|
|
||||||
# OSSFUZZ: libprotobuf-mutator
|
# OSSFUZZ: libprotobuf-mutator
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
git clone https://github.com/google/libprotobuf-mutator.git \
|
git clone https://github.com/google/libprotobuf-mutator.git \
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
# Require libfuzzer specific flags
|
# Require libfuzzer specific flags
|
||||||
set(CMAKE_CXX_FLAGS "-O1 -gline-tables-only -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libstdc++")
|
set(CMAKE_CXX_FLAGS "-O1 -gline-tables-only -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libstdc++ -fopenmp=libgomp")
|
||||||
|
Loading…
Reference in New Issue
Block a user