nixpkgs/pkgs/development/compilers/llvm/7
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 Revert "Add mingwW64-llvm cross-system." 2022-05-18 13:50:23 +02:00
clang llvmPackages*.clang: fix linker invocation with LLVMgold plugin 2021-05-18 16:15:03 +02:00
compiler-rt pkgsStatic.llvmPackages_{{5..13},git}.compiler-rt: drop unused musl patches 2021-10-21 18:42:31 +01:00
libcxx llvmPackages.libcxx: unset _LIBCPP_USE_AVAILABILITY_APPLE 2021-12-18 10:09:25 -05:00
libcxxabi llvmPackages_7.libcxxabi: fix build with gcc 2021-11-06 15:03:13 -07:00
libunwind llvmPackages: Fix more inconsistencies 2021-05-12 00:16:11 +00:00
lld Clarify that lld package provides unwrapped lld 2022-03-27 18:14:55 -04: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