aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Gorny <mgorny@gentoo.org>2016-09-30 16:56:16 +0000
committerMichal Gorny <mgorny@gentoo.org>2016-09-30 16:56:16 +0000
commit27bfdc4a3c9ac41876fc10e423ce415b72ddf2a6 (patch)
tree5b45ea6da704147278e48dd3a4faf5b3707b5a1e
parent8ff412c00e66bd4d5af1c1870ff028b2c4fef6bc (diff)
[test] Support 'lit' executable name
Support finding lit as plain 'lit', which is the name used by setup.py in LLVM's utils/lit. Differential Revision: https://reviews.llvm.org/D25072 git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@282876 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--runtime/test/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/test/CMakeLists.txt b/runtime/test/CMakeLists.txt
index 6c31a03..8162855 100644
--- a/runtime/test/CMakeLists.txt
+++ b/runtime/test/CMakeLists.txt
@@ -41,7 +41,7 @@ if(${LIBOMP_STANDALONE_BUILD})
set(LIBOMP_TEST_OPENMP_FLAG -fopenmp CACHE STRING
"OpenMP compiler flag to use for testing OpenMP library")
find_program(LIBOMP_LLVM_LIT_EXECUTABLE
- NAMES llvm-lit lit.py
+ NAMES llvm-lit lit.py lit
PATHS ${OPENMP_LLVM_TOOLS_DIR})
if(NOT LIBOMP_LLVM_LIT_EXECUTABLE)
libomp_say("Cannot find llvm-lit.")