about summary refs log tree commit diff homepage
path: root/cmake
diff options
context:
space:
mode:
authorFrank Busse <bb0xfb@gmail.com>2021-12-15 16:38:21 +0000
committerCristian Cadar <c.cadar@imperial.ac.uk>2022-03-17 22:59:26 +0000
commit0f45ab7a5008bd5e68201449bd1e0a999f999457 (patch)
tree585d30a6d2cd9c2ee6c31240a86d034f10d564bb /cmake
parentd8553f3cec042b5af9e21c268cb14ee8f7b30083 (diff)
downloadklee-0f45ab7a5008bd5e68201449bd1e0a999f999457.tar.gz
remove LLVM < 6 from build/test scripts
Diffstat (limited to 'cmake')
-rw-r--r--cmake/workaround_llvm_pr39177.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmake/workaround_llvm_pr39177.cmake b/cmake/workaround_llvm_pr39177.cmake
index 317cac7e..9e0ac8bd 100644
--- a/cmake/workaround_llvm_pr39177.cmake
+++ b/cmake/workaround_llvm_pr39177.cmake
@@ -43,8 +43,7 @@
 # [MODIFIED] lib/Module/Passes.h
 
 # Detect whether LLVM version is affected by PR39177
-if ((${LLVM_VERSION_MAJOR} GREATER 3 OR (${LLVM_VERSION_MAJOR} EQUAL 3 AND ${LLVM_VERSION_MINOR} EQUAL 9)) # LLVM >= 3.9
-   AND (${LLVM_VERSION_MAJOR} LESS 7 OR (${LLVM_VERSION_MAJOR} EQUAL 7 AND ${LLVM_VERSION_MINOR} EQUAL 0 AND ${LLVM_VERSION_PATCH} EQUAL 0))) # LLVM <= 7.0.0
+if (${LLVM_VERSION_MAJOR} LESS 7 OR (${LLVM_VERSION_MAJOR} EQUAL 7 AND ${LLVM_VERSION_MINOR} EQUAL 0 AND ${LLVM_VERSION_PATCH} EQUAL 0)) # LLVM <= 7.0.0
   set(DISABLE_WORKAROUND_LLVM_PR39177_DEFAULT OFF)
 else()
   set(DISABLE_WORKAROUND_LLVM_PR39177_DEFAULT ON)