aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDan Liew <daniel.liew@imperial.ac.uk>2017-07-25 15:31:17 +0100
committerDan Liew <daniel.liew@imperial.ac.uk>2017-07-28 08:19:52 +0100
commitbe14a1a7b4c465a4559b79df158ce8d2ee4487b9 (patch)
tree26ec0f66598ed04bf74d26a3f430981c073e79b6
parent5ebe8a62961b7779658d36b0eff16b1a12030471 (diff)
downloadklee-be14a1a7b4c465a4559b79df158ce8d2ee4487b9.tar.gz
[TravisCI] Make sure when building with CMake that only the solvers
requested get used.
-rwxr-xr-x.travis/klee.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/.travis/klee.sh b/.travis/klee.sh
index 19b9e47f..119fbb47 100755
--- a/.travis/klee.sh
+++ b/.travis/klee.sh
@@ -51,13 +51,13 @@ fi
###############################################################################
# Handle setting up solver configure flags for KLEE
###############################################################################
-KLEE_Z3_CONFIGURE_OPTION=""
-KLEE_STP_CONFIGURE_OPTION=""
-KLEE_METASMT_CONFIGURE_OPTION=""
SOLVER_LIST=$(echo "${SOLVERS}" | sed 's/:/ /')
if [ "X${USE_CMAKE}" == "X1" ]; then
# Set CMake configure options
+ KLEE_Z3_CONFIGURE_OPTION="-DENABLE_SOLVER_Z3=OFF"
+ KLEE_STP_CONFIGURE_OPTION="-DENABLE_SOLVER_STP=OFF"
+ KLEE_METASMT_CONFIGURE_OPTION="-DENABLE_SOLVER_METASMT=OFF"
for solver in ${SOLVER_LIST}; do
echo "Setting CMake configuration option for ${solver}"
case ${solver} in
@@ -82,6 +82,9 @@ if [ "X${USE_CMAKE}" == "X1" ]; then
done
TCMALLOC_OPTION=$([ "${USE_TCMALLOC:-0}" == 1 ] && echo "-DENABLE_TCMALLOC=TRUE" || echo "-DENABLE_TCMALLOC=FALSE")
else
+ KLEE_Z3_CONFIGURE_OPTION=""
+ KLEE_STP_CONFIGURE_OPTION=""
+ KLEE_METASMT_CONFIGURE_OPTION=""
for solver in ${SOLVER_LIST}; do
echo "Setting configuration option for ${solver}"
case ${solver} in