[PATCH] D155241: [Fuchsia] Skip building debuginfod if httplib_ROOT is not specified
Haowei Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 13 15:44:44 PDT 2023
haowei created this revision.
haowei added reviewers: phosek, mysterymath.
Herald added a subscriber: abrachet.
Herald added a project: All.
haowei requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
This patch skipds building debuginfod if httplib_ROOT is not present in the configuration when building Fuchsia Clang toolchain.
I used list(REMOVE_ITEM) instead of list(APPEND) so user can still use -DLLVM_TOOLCHAIN_TOOLS to override the tools to build.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D155241
Files:
clang/cmake/caches/Fuchsia-stage2.cmake
Index: clang/cmake/caches/Fuchsia-stage2.cmake
===================================================================
--- clang/cmake/caches/Fuchsia-stage2.cmake
+++ clang/cmake/caches/Fuchsia-stage2.cmake
@@ -331,6 +331,10 @@
scan-build-py
CACHE STRING "")
+if (NOT httplib_ROOT)
+ list(REMOVE_ITEM LLVM_TOOLCHAIN_TOOLS llvm-debuginfod llvm-debuginfod-find)
+endif()
+
set(LLVM_Toolchain_DISTRIBUTION_COMPONENTS
bolt
clang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155241.540197.patch
Type: text/x-patch
Size: 437 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230713/99f92fb9/attachment.bin>
More information about the cfe-commits
mailing list