[PATCH] D40142: [cmake] Use llvm-lit directory when provided for stand-alone build
Michał Górny via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 17 14:21:43 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL318562: [cmake] Use llvm-lit directory when provided for stand-alone build (authored by mgorny).
Changed prior to commit:
https://reviews.llvm.org/D40142?vs=123219&id=123419#toc
Repository:
rL LLVM
https://reviews.llvm.org/D40142
Files:
cfe/trunk/CMakeLists.txt
Index: cfe/trunk/CMakeLists.txt
===================================================================
--- cfe/trunk/CMakeLists.txt
+++ cfe/trunk/CMakeLists.txt
@@ -132,6 +132,9 @@
if(EXISTS ${LLVM_MAIN_SRC_DIR}/utils/lit/lit.py)
# Note: path not really used, except for checking if lit was found
set(LLVM_LIT ${LLVM_MAIN_SRC_DIR}/utils/lit/lit.py)
+ if(EXISTS ${LLVM_MAIN_SRC_DIR}/utils/llvm-lit)
+ add_subdirectory(${LLVM_MAIN_SRC_DIR}/utils/llvm-lit utils/llvm-lit)
+ endif()
if(NOT LLVM_UTILS_PROVIDED)
add_subdirectory(${LLVM_MAIN_SRC_DIR}/utils/FileCheck utils/FileCheck)
add_subdirectory(${LLVM_MAIN_SRC_DIR}/utils/count utils/count)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40142.123419.patch
Type: text/x-patch
Size: 699 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171117/07c84e99/attachment.bin>
More information about the cfe-commits
mailing list