No description
Find a file
Nikita Popov 10f88a7d35 Only disable rpath during installation
We currently disable rpath during both build and install. Instead,
we use LD_LIBRARY_PATH to allow the built clang to find the
libLLVM.so etc objects.

However, this does not work well if the system clang and the
clang being built have the same version. During the build, we
use both the system clang and the just-built clang, and they
need to use the system and just-built shared objects respectively.
However, use of LD_LIBRARY_PATH causes us to always use the
just-built objects as long as the versions match.

This is a problem in two scenarios: When building compat packages
for the current system LLVM version, we mix system clang with
compat libraries, which assume different paths. And when building
release candidates, a build using a previous rc of a newer rc
may use ABI-incompatible objects, because we don't version sonames
on rc versions.

Fix this by keeping the rpath during the build and only stripping
it on installation using the CMAKE_SKIP_INSTALL_RPATH option.
For manually installed binaries, we need to also manually strip
the rpath using chrpath.

This way system clang will use system libraries, and just-built
clang will use just-built libraries.
2024-10-08 16:30:46 +02:00
.copr Remove %llvm_snapshot_changelog_entry 2024-10-02 13:03:46 +00:00
.fmf Port tests to tmt 2021-09-15 08:01:11 +02:00
tests Format all files with 'pre-commit run -a' 2024-09-02 15:45:30 +02:00
.git-blame-ignore-revs Add "Cleanup CMake arguments" commit to blame ignore list 2024-10-07 20:10:45 +00:00
.gitignore Prepare non-snapshot builds 2024-09-02 15:45:30 +02:00
.pre-commit-config.yaml Format all files with 'pre-commit run -a' 2024-09-02 15:45:30 +02:00
0001-19-Remove-myst_parser-dependency-for-RHEL.patch Make rawhide compatible with snapshot builds 2024-09-20 09:53:42 +00:00
0001-20-Remove-myst_parser-dependency-for-RHEL.patch Rebase RHEL myst_parser patch 2024-09-30 08:37:29 +00:00
0001-Always-build-shared-libs-for-LLD.patch Rebase LLD patch 2024-09-02 15:45:30 +02:00
0001-Fix-page-size-constant-on-aarch64-and-ppc64le.patch Add compiler-rt patch for RHEL 8 page sizes 2024-09-03 08:20:32 +02:00
0001-PATCH-clang-Make-funwind-tables-the-default-on-all-a.patch merge llvm, clang, compiler-rt and libomp repos 2024-09-02 15:45:17 +02:00
0001-Workaround-a-bug-in-ORC-on-ppc64le.patch merge llvm, clang, compiler-rt and libomp repos 2024-09-02 15:45:17 +02:00
0003-PATCH-clang-Don-t-install-static-libraries.patch merge llvm, clang, compiler-rt and libomp repos 2024-09-02 15:45:17 +02:00
gating.yaml Require rpmdeplint gating test only in rawhide 2024-09-12 14:14:47 +00:00
llvm.rpmlintrc Format all files with 'pre-commit run -a' 2024-09-02 15:45:30 +02:00
llvm.spec Only disable rpath during installation 2024-10-08 16:30:46 +02:00
macros.clang merge llvm, clang, compiler-rt and libomp repos 2024-09-02 15:45:17 +02:00
Makefile Prepare non-snapshot builds 2024-09-02 15:45:30 +02:00
release-keys.asc Update to LLVM 15.0.0 2022-09-06 10:01:30 +02:00
sources Update to 19.1.0 2024-09-19 08:12:14 +02:00