-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Regarding clang+llvm releases on https://github.com/songdongsheng/asset-store
https://discourse.llvm.org/t/llvm-20-x-release-third-party-binaries/84366/3
Older LLVM releases on releases.llvm.org contain CMake config files for both llvm and clang, e.g.
% ls clang+llvm-14.0.6-x86_64-linux-gnu-rhel-8.4/lib/cmake/clang/
AddClang.cmake ClangConfig.cmake ClangTargets-release.cmake ClangTargets.cmake
This enables projects using CMake find_package(Clang REQUIRED)
to locate the Clang library via:
-DCMAKE_PREFIX_PATH=path/to/clang+llvm-14.0.6-x86_64-linux-gnu-rhel-8.4
It would be helpful to include the lib/cmake/clang
directory in your tarballs as well to maintain this functionality for downstream projects relying on Clang's API.
In tarballs that target glibc 2.36+, you might specify LDFLAGS -z pack-relative-relocs
to utilize the compact relative relocation feature (DT_RELR) to make the executables smaller.
Metadata
Metadata
Assignees
Labels
No labels