[PATCH] D96670: [CMake] Look up target subcomponents in LLVM_AVAILABLE_LIBS
Aaron Puchert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 14 14:07:27 PST 2021
aaronpuchert created this revision.
aaronpuchert added reviewers: beanz, dsanders, pete.
Herald added a subscriber: mgorny.
aaronpuchert requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
In an installation using the all-contained libLLVM.so, individual
components are not available as targets, so we have to look them up in
LLVM_AVAILABLE_LIBS just like llvm_map_components_to_libnames does it.
Here I don't think we need the capitalized names though because we know
the right capitalization. But I might be wrong.
This is required by dragonffi, who call llvm_map_components_to_libnames
on a list containing ${LLVM_NATIVE_ARCH}. Downstream bug report:
https://bugzilla.opensuse.org/show_bug.cgi?id=1180748.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D96670
Files:
llvm/cmake/modules/LLVM-Config.cmake
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96670.323633.patch
Type: text/x-patch
Size: 4573 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210214/99025abf/attachment.bin>
More information about the llvm-commits
mailing list