nixpkgs/pkgs/development/compilers/llvm
InternetUnexplorer 9c8eda7f38 llvmPackages_rocm.llvm: don't build shared libs
This seems to fix the notorious "CommandLine Error: Option 'xxxxx'
registered more than once!" error in applications that use both Mesa and
ROCm.

Since Mesa is built with llvmPackages_latest and ROCm stuff is built
with llvmPackages_rocm, applications that use both (such as Blender) end
up with two different `libLLVM*.so`s loaded, which breaks things.

This seems like a straightforward way to fix the problem, and since the
ROCm stack seems to be the only thing in Nixpkgs that uses
llvmPackages_rocm this hopefully shouldn't break anything.

While there might be another way to fix this problem that doesn't
require disabling the shared libraries, I haven't been able to find it
yet, and since this issue seems to affect a lot of people I think it
might make sense to merge this fix for now and revisit it later if a
better solution is found.

This also removes a small patch to rocm-comgr since there are no longer
LLVM shared libraries for it to link against.
2022-03-11 11:33:56 -08:00
..
5 Merge pull request #153790 from sternenseemann/cross-bootstrap-logic 2022-01-08 12:39:30 -08:00
6 Merge pull request #153790 from sternenseemann/cross-bootstrap-logic 2022-01-08 12:39:30 -08:00
7 Merge pull request #153790 from sternenseemann/cross-bootstrap-logic 2022-01-08 12:39:30 -08:00
8 Merge pull request #153790 from sternenseemann/cross-bootstrap-logic 2022-01-08 12:39:30 -08:00
9 Merge pull request #153790 from sternenseemann/cross-bootstrap-logic 2022-01-08 12:39:30 -08:00
10 Merge pull request #153790 from sternenseemann/cross-bootstrap-logic 2022-01-08 12:39:30 -08:00
11 Merge pull request #153790 from sternenseemann/cross-bootstrap-logic 2022-01-08 12:39:30 -08:00
12 Merge pull request #155462 from veprbl/pr/libcxx_12_no_apple_availability 2022-01-29 21:15:21 -05:00
13 Merge pull request #155462 from veprbl/pr/libcxx_12_no_apple_availability 2022-01-29 21:15:21 -05:00
14 llvmPackages_14: Mark broken packages 2022-03-01 23:37:00 +01:00
common/compiler-rt compiler-rt: remove <cyclades.h> from libsanitizer 2021-09-20 19:37:19 +01:00
git llvmPackages_{git,14}: Replace tabs in lld/default.nix 2022-02-27 20:25:20 +01:00
rocm llvmPackages_rocm.llvm: don't build shared libs 2022-03-11 11:33:56 -08:00
aarch64.patch
clang-6-10-LLVMgold-path.patch llvmPackages*.clang: fix linker invocation with LLVMgold plugin 2021-05-18 16:15:03 +02:00
clang-11-12-LLVMgold-path.patch llvmPackages*.clang: fix linker invocation with LLVMgold plugin 2021-05-18 16:15:03 +02:00
exegesis-force-bdver2.patch llvmPackages_12.llvm: fix building on older CPUs 2021-04-17 01:55:53 +00:00
libcxx-0001-musl-hacks.patch
llvm-config-link-static.patch llvmPackages_*.libllvm: make llvm-config and llvm-config equivalent 2022-01-04 11:09:43 +01:00
multi.nix
TLI-musl.patch
update-git.py llvm/update-git.py: Automatically commit the changes 2021-08-28 22:54:31 +02:00
update.sh llvmPackages/update.sh: Support LLVM 13+ 2021-08-28 22:55:08 +02:00