summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorInternetUnexplorer <internetunexplorer@gmail.com>2022-03-11 11:33:56 -0800
committerInternetUnexplorer <internetunexplorer@gmail.com>2022-03-11 11:33:56 -0800
commit9c8eda7f38c071c725c86627d1dce78ea5334c7a (patch)
tree7eb3857c4054023f1e7d5980fba6365c584c5862 /pkgs/development/python-modules/rangehttpserver
parent062a0c5437b68f950b081bbfc8a699d57a4ee026 (diff)
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.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions