From 3ccf825e229087b2b43f4f0be2ffe8c20db94282 Mon Sep 17 00:00:00 2001 From: Michal Gorny Date: Fri, 30 Sep 2016 16:56:16 +0000 Subject: [PATCH] [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 llvm-svn: 282876 --- openmp/runtime/test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmp/runtime/test/CMakeLists.txt b/openmp/runtime/test/CMakeLists.txt index 6c31a030ffd50..8162855163d6e 100644 --- a/openmp/runtime/test/CMakeLists.txt +++ b/openmp/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.")