diff options
author | Dan Liew <daniel.liew@imperial.ac.uk> | 2017-07-25 15:31:17 +0100 |
---|---|---|
committer | Dan Liew <daniel.liew@imperial.ac.uk> | 2017-07-28 08:19:52 +0100 |
commit | be14a1a7b4c465a4559b79df158ce8d2ee4487b9 (patch) | |
tree | 26ec0f66598ed04bf74d26a3f430981c073e79b6 /.travis | |
parent | 5ebe8a62961b7779658d36b0eff16b1a12030471 (diff) | |
download | klee-be14a1a7b4c465a4559b79df158ce8d2ee4487b9.tar.gz |
[TravisCI] Make sure when building with CMake that only the solvers
requested get used.
Diffstat (limited to '.travis')
-rwxr-xr-x | .travis/klee.sh | 9 |
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 |