[Openmp-commits] [PATCH] [Request, 2 lines] D25072: [test] Support 'lit' executable name

Michał Górny via Openmp-commits openmp-commits at lists.llvm.org
Thu Sep 29 23:29:50 PDT 2016


mgorny created this revision.
mgorny added reviewers: jlpeyton, Hahnfeld.
mgorny added a subscriber: openmp-commits.
Herald added a subscriber: beanz.

Support finding lit as plain 'lit', which is the name used by setup.py in LLVM's utils/lit.


https://reviews.llvm.org/D25072

Files:
  runtime/test/CMakeLists.txt


Index: runtime/test/CMakeLists.txt
===================================================================
--- runtime/test/CMakeLists.txt
+++ runtime/test/CMakeLists.txt
@@ -41,7 +41,7 @@
   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.")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25072.72984.patch
Type: text/x-patch
Size: 518 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20160930/1b04854e/attachment.bin>


More information about the Openmp-commits mailing list