nixpkgs/pkgs/development/compilers/llvm/5
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
..
clang llvmPackages*.clang: fix linker invocation with LLVMgold plugin 2021-05-18 16:15:03 +02:00
compiler-rt llvmPackages_5.compiler-rt: fix build against gcc-12 2021-12-10 19:56:55 +00:00
libcxx llvmPackages: Fix more inconsistencies 2021-05-12 00:16:11 +00:00
libcxxabi llvmPackages: Fix more inconsistencies 2021-05-12 00:16:11 +00:00
lld treewide: pkgs/development/compilers: mark broken for darwin 2022-05-30 13:41:09 +02:00
lldb llvmPackages: Fix more inconsistencies 2021-05-12 00:16:11 +00:00
llvm Revert "llvmPackages: do not include static archives when shared…" 2022-07-05 15:03:12 +02:00
openmp llvmPackages: Fix more inconsistencies 2021-05-12 00:16:11 +00:00
default.nix llvmPackages_*.clang: pick clangUseLLVM if targetPlatform.useLLVM 2022-01-07 14:52:13 +01:00