[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:
Jonathan Peyton 2016-05-17 15:12:11 +00:00
parent 6c3fa193bf
commit 0e8f053023
1 changed files with 1 additions and 1 deletions

View File

@ -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)