[all-commits] [llvm/llvm-project] 0b5cb4: [CMake] Look up target subcomponents in LLVM_AVAIL...
Aaron Puchert via All-commits
all-commits at lists.llvm.org
Sun Jan 22 12:39:33 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0b5cb41dd07cc7cde9330d6098ebd74387f3df7f
https://github.com/llvm/llvm-project/commit/0b5cb41dd07cc7cde9330d6098ebd74387f3df7f
Author: Aaron Puchert <aaronpuchert at alice-dsl.net>
Date: 2023-01-22 (Sun, 22 Jan 2023)
Changed paths:
M llvm/cmake/modules/LLVM-Config.cmake
Log Message:
-----------
[CMake] Look up target subcomponents in LLVM_AVAILABLE_LIBS
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.
Differential Revision: https://reviews.llvm.org/D96670
More information about the All-commits
mailing list