[PATCH] D154599: [lld] respect LLVM_EXTERNAL_LIT
Konrad Wilhelm Kleine via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 6 07:35:32 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG58fb2c7a6c5e: [lld] respect LLVM_EXTERNAL_LIT (authored by kwk).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154599/new/
https://reviews.llvm.org/D154599
Files:
lld/CMakeLists.txt
Index: lld/CMakeLists.txt
===================================================================
--- lld/CMakeLists.txt
+++ lld/CMakeLists.txt
@@ -61,7 +61,7 @@
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)
+ set(LLVM_EXTERNAL_LIT ${LLVM_MAIN_SRC_DIR}/utils/lit/lit.py)
if(NOT LLVM_UTILS_PROVIDED)
add_subdirectory(${LLVM_MAIN_SRC_DIR}/utils/FileCheck utils/FileCheck)
add_subdirectory(${LLVM_MAIN_SRC_DIR}/utils/not utils/not)
@@ -74,13 +74,13 @@
endif()
else()
# Seek installed Lit.
- find_program(LLVM_LIT
+ find_program(LLVM_EXTERNAL_LIT
NAMES llvm-lit lit.py lit
PATHS "${LLVM_MAIN_SRC_DIR}/utils/lit"
DOC "Path to lit.py")
endif()
- if(LLVM_LIT)
+ if(LLVM_EXTERNAL_LIT)
# Define the default arguments to use with 'lit', and an option for the user
# to override.
set(LIT_ARGS_DEFAULT "-sv")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154599.537717.patch
Type: text/x-patch
Size: 1089 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230706/43cd01fb/attachment.bin>
More information about the llvm-commits
mailing list