mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-29 16:40:18 +02:00
9c8eda7f38
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. |
||
---|---|---|
.. | ||
5 | ||
6 | ||
7 | ||
8 | ||
9 | ||
10 | ||
11 | ||
12 | ||
13 | ||
14 | ||
common/compiler-rt | ||
git | ||
rocm | ||
aarch64.patch | ||
clang-6-10-LLVMgold-path.patch | ||
clang-11-12-LLVMgold-path.patch | ||
exegesis-force-bdver2.patch | ||
libcxx-0001-musl-hacks.patch | ||
llvm-config-link-static.patch | ||
multi.nix | ||
TLI-musl.patch | ||
update-git.py | ||
update.sh |