nixpkgs/pkgs/development/compilers/llvm/12/llvm
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
..
default.nix Revert "llvmPackages: do not include static archives when shared…" 2022-07-05 15:03:12 +02:00
fix-llvm-issue-49955.patch llvmPackages_12.llvm: create fix-llvm-issue-49955.patch 2022-01-08 14:01:39 +01:00
gnu-install-dirs-polly.patch
gnu-install-dirs.patch