[PATCH] D116521: [llvm][clang][cmake] Factor out config prefix finding logic
John Ericson via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 2 23:32:58 PST 2022
Ericson2314 created this revision.
Ericson2314 added reviewers: mstorsjo, beanz.
Herald added a subscriber: mgorny.
Ericson2314 requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.
See the docs in the new function for details.
We get the shared, non-installed CMake modules following the pattern
established in D116472 <https://reviews.llvm.org/D116472>.
It might be good to have LLD and Flang also use this, but that would be
a functional change and so I leave it as future work.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D116521
Files:
clang/CMakeLists.txt
clang/cmake/modules/CMakeLists.txt
cmake/Modules/FindPrefixFromConfig.cmake
llvm/CMakeLists.txt
llvm/cmake/modules/CMakeLists.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116521.397008.patch
Type: text/x-patch
Size: 6689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220103/3d01de1e/attachment.bin>
More information about the cfe-commits
mailing list