mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 20:18:18 +00:00
[TravisCI] Fix bug where Z3_BUILD_TYPE
was not being passed as
a Docker build argument. Also update an out of date comment.
This commit is contained in:
parent
53fc6ac11b
commit
eb975a49d6
|
@ -21,8 +21,11 @@ fi
|
||||||
source "${SCRIPT_DIR}/ci_defaults.sh"
|
source "${SCRIPT_DIR}/ci_defaults.sh"
|
||||||
|
|
||||||
BUILD_OPTS=()
|
BUILD_OPTS=()
|
||||||
# Override options if they have been provided.
|
# Pass Docker build arguments
|
||||||
# Otherwise the defaults in the Docker file will be used
|
if [ -n "${Z3_BUILD_TYPE}" ]; then
|
||||||
|
BUILD_OPTS+=("--build-arg" "Z3_BUILD_TYPE=${Z3_BUILD_TYPE}")
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -n "${Z3_CMAKE_GENERATOR}" ]; then
|
if [ -n "${Z3_CMAKE_GENERATOR}" ]; then
|
||||||
BUILD_OPTS+=("--build-arg" "Z3_CMAKE_GENERATOR=${Z3_CMAKE_GENERATOR}")
|
BUILD_OPTS+=("--build-arg" "Z3_CMAKE_GENERATOR=${Z3_CMAKE_GENERATOR}")
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue