Merge pull request #8944 from ethereum/disable-z3-ossfuzz

Disable Z3 in fuzzer builds
This commit is contained in:
chriseth 2020-05-14 18:42:25 +02:00 committed by GitHub
commit 6e9d20a38d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,8 @@
# Inherit default options # Inherit default options
include("${CMAKE_CURRENT_LIST_DIR}/default.cmake") include("${CMAKE_CURRENT_LIST_DIR}/default.cmake")
# Disable CVC4. # Disable CVC4 and Z3.
set(USE_CVC4 OFF CACHE BOOL "Disable CVC4" FORCE) set(USE_CVC4 OFF CACHE BOOL "Disable CVC4" FORCE)
set(USE_Z3 OFF CACHE BOOL "Disable Z3" FORCE)
# Enable fuzzers # Enable fuzzers
set(OSSFUZZ ON CACHE BOOL "Enable fuzzer build" FORCE) set(OSSFUZZ ON CACHE BOOL "Enable fuzzer build" FORCE)
set(LIB_FUZZING_ENGINE $ENV{LIB_FUZZING_ENGINE} CACHE STRING "Use fuzzer back-end defined by environment variable" FORCE) set(LIB_FUZZING_ENGINE $ENV{LIB_FUZZING_ENGINE} CACHE STRING "Use fuzzer back-end defined by environment variable" FORCE)