nixpkgs/pkgs/development/compilers/llvm/12
sternenseemann 0083a683d7 Revert "llvmPackages: do not include static archives when shared…"
Reverts #162607 / 1748887ff2.

Reason for revert: This change caused llvm-config{,-native} to be unable
to find static archives bundled with LLVM, as has been [reported]. Ever
since #152944 using moveToOutput in LLVM is _evil_ because llvm-config
obtains it knowledge about the installation locations from the CMake
configure step.

Consequently a change like #162607 will need to be implemented by making
LLVM itself install the static archives to the correct location or by
adding yet another patch which updates llvm-config's knowledge of the
location. The latter is not desireable in my opinion, though, since it
is just asking for this sort of trouble: Before #152944 we had an
outputs.patch that did this sort of things which broke spectacularly in
edge cases.

Fixes #148117.

[reported]: https://github.com/NixOS/nixpkgs/issues/148117#issuecomment-1158245576
2022-07-05 15:03:12 +02:00
..
bintools
clang
compiler-rt
libcxx
libcxxabi
libunwind
lld Clarify that lld package provides unwrapped lld 2022-03-27 18:14:55 -04:00
lldb
llvm Revert "llvmPackages: do not include static archives when shared…" 2022-07-05 15:03:12 +02:00
openmp
default.nix