[PATCH] D23745: cmake: Adjust llvm-lit search to match the one in LLVM

Michał Górny via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 20 04:59:22 PDT 2016


mgorny created this revision.
mgorny added reviewers: chapuni, garious.
mgorny added a subscriber: cfe-commits.

Adjust the system lit executable search to look for llvm-lit as that is the name used in AddLLVM.cmake installed by LLVM.


https://reviews.llvm.org/D23745

Files:
  CMakeLists.txt

Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -140,7 +140,7 @@
       endif()
     else()
       # Seek installed Lit.
-      find_program(LLVM_LIT "lit.py" ${LLVM_MAIN_SRC_DIR}/utils/lit
+      find_program(LLVM_LIT "llvm-lit" ${LLVM_MAIN_SRC_DIR}/utils/lit
         DOC "Path to lit.py")
     endif()
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23745.68776.patch
Type: text/x-patch
Size: 390 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160820/94994e61/attachment.bin>


More information about the cfe-commits mailing list