Skip to content

Commit

Permalink
[test] Support 'lit' executable name
Browse files Browse the repository at this point in the history
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

llvm-svn: 282876
  • Loading branch information
mgorny committed Sep 30, 2016
1 parent d7bdf24 commit 3ccf825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmp/runtime/test/CMakeLists.txt
Expand Up @@ -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.")
Expand Down

0 comments on commit 3ccf825

Please sign in to comment.