3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-27 10:55:50 +00:00

[TravisCI] Add Z3_WARNINGS_AS_ERRORS environment variable to

control the `WARNINGS_AS_ERRORS` CMake option.
This commit is contained in:
Dan Liew 2017-07-09 14:41:59 +01:00
parent 6e2ca69654
commit 630863619b
4 changed files with 13 additions and 1 deletions

View file

@ -120,6 +120,13 @@ if [ -n "${NO_SUPPRESS_OUTPUT}" ]; then
)
fi
if [ -n "${Z3_WARNINGS_AS_ERRORS}" ]; then
BUILD_OPTS+=( \
"--build-arg" \
"Z3_WARNINGS_AS_ERRORS=${Z3_WARNINGS_AS_ERRORS}" \
)
fi
case ${LINUX_BASE} in
ubuntu_14.04)
BASE_DOCKER_FILE="${DOCKER_FILE_DIR}/z3_base_ubuntu_14.04.Dockerfile"