about summary refs log tree commit diff homepage
path: root/.travis
diff options
context:
space:
mode:
authorAndrea Mattavelli <andreamattavelli@users.noreply.github.com>2017-07-28 17:11:33 +0100
committerGitHub <noreply@github.com>2017-07-28 17:11:33 +0100
commit6dda95ed80dd9a91428eb8f8c7ae12c86627bccc (patch)
tree92528a92dbd2e35c07e938b8bc9a634fc0287197 /.travis
parent3bea97fdafc9d68ec2e5c76fcde05d112aef8a38 (diff)
parentbe14a1a7b4c465a4559b79df158ce8d2ee4487b9 (diff)
downloadklee-6dda95ed80dd9a91428eb8f8c7ae12c86627bccc.tar.gz
Merge pull request #728 from delcypher/cmake_change_default
[CMake] Change some defaults
Diffstat (limited to '.travis')
-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