forked from OSchip/llvm-project
[OpenMP Testing] Have lit.py be a valid lit executable
Users can use either llvm-lit (generated during llvm build) or lit.py which exists in llvm/utils/lit. llvm-svn: 269774
This commit is contained in:
parent
6c3fa193bf
commit
0e8f053023
|
@ -38,7 +38,7 @@ if(${LIBOMP_STANDALONE_BUILD})
|
|||
set(LIBOMP_LLVM_LIT_EXECUTABLE "" CACHE STRING
|
||||
"Path to llvm-lit")
|
||||
find_program(LIT_EXECUTABLE
|
||||
NAMES llvm-lit
|
||||
NAMES llvm-lit lit.py
|
||||
HINTS ${LIBOMP_LLVM_LIT_EXECUTABLE}
|
||||
PATHS ${OPENMP_LLVM_TOOLS_DIR})
|
||||
if(NOT LIT_EXECUTABLE)
|
||||
|
|
Loading…
Reference in New Issue