diff options
author | Julian Büning <julian.buening@rwth-aachen.de> | 2020-09-04 22:04:57 +0200 |
---|---|---|
committer | MartinNowack <2443641+MartinNowack@users.noreply.github.com> | 2020-10-12 11:19:24 +0100 |
commit | 9c445a83bc03ca4a0335e98704feee44183831a6 (patch) | |
tree | 868034bc5ed0406a6bced20f30340146ca079b50 /scripts | |
parent | e94d9c6268cb75ff317a42e26f33c419e6686b5d (diff) | |
download | klee-9c445a83bc03ca4a0335e98704feee44183831a6.tar.gz |
Exception handling only for LLVM >= 8.0.0
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/build/p-klee.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/build/p-klee.inc b/scripts/build/p-klee.inc index 9608fe89..34b73338 100644 --- a/scripts/build/p-klee.inc +++ b/scripts/build/p-klee.inc @@ -55,6 +55,8 @@ if [ "${USE_LIBCXX}" -eq 1 ]; then "-DKLEE_LIBCXX_INCLUDE_DIR=${LIBCXX_INSTALL}/include/c++/v1" "-DKLEE_LIBCXXABI_SRC_DIR=${LIBCXX_SRC}/libcxxabi" ) + local LLVM_VERSION_MAJOR="${LLVM_VERSION/.*/}" + [[ "${LLVM_VERSION_MAJOR}" -ge 8 ]] && CMAKE_ARGUMENTS+=("-DENABLE_KLEE_EH_CXX=TRUE") else CMAKE_ARGUMENTS+=( "-DENABLE_KLEE_LIBCXX=FALSE" |