diff options
author | Dan Liew <daniel.liew@imperial.ac.uk> | 2015-12-12 20:14:01 +0000 |
---|---|---|
committer | Dan Liew <daniel.liew@imperial.ac.uk> | 2016-01-14 11:50:09 +0000 |
commit | 8a7705ad979096d4e611fb2b8b397c48dd5fffc1 (patch) | |
tree | 86a2fd486e2bca162d4b4f3aa0d3b90927f76e1d /lib/Solver/STPBuilder.cpp | |
parent | e81f5ceed580d4d267e3c857b47637d6bd065499 (diff) | |
download | klee-8a7705ad979096d4e611fb2b8b397c48dd5fffc1.tar.gz |
Make it possible to build KLEE without using STP and only MetaSMT.
The default core solver is STP if KLEE is built with STP otherwise it is MetaSMT. Whilst I'm here rename SUPPORT_METASMT macro to ENABLE_METASMT for consistency.
Diffstat (limited to 'lib/Solver/STPBuilder.cpp')
-rw-r--r-- | lib/Solver/STPBuilder.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Solver/STPBuilder.cpp b/lib/Solver/STPBuilder.cpp index 2f51c2b9..2b07f391 100644 --- a/lib/Solver/STPBuilder.cpp +++ b/lib/Solver/STPBuilder.cpp @@ -6,7 +6,8 @@ // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// - +#include "klee/Config/config.h" +#ifdef ENABLE_STP #include "STPBuilder.h" #include "klee/Expr.h" @@ -902,5 +903,5 @@ ExprHandle STPBuilder::constructActual(ref<Expr> e, int *width_out) { return vc_trueExpr(vc); } } - +#endif // ENABLE_STP |