nixpkgs/pkgs/development/compilers/llvm/12
sternenseemann 91cba7b0a9 llvmPackages_{10,11,12}.compiler-rt: install resource txts to $out/share
7869d16545 changed how resource files are
installed. Likely by accident, now some of the resource files are
installed to $dev/include instead of $out/share. This causes the cc
wrapper's resource-root to miss those files from compiler-rt as they are
in a different place than expected.

This commit fixes all instances of this incorrect installation for
llvmPackages_10, 11 and 12 which are the only llvm package sets which
link ${targetLlvmLibraries.compiler-rt.out}/share to the resource-root.

For the other llvm package set this will likely also need to be fixed,
but it doesn't have to have immediate urgency and doing it in two steps
allows us to (hopefully) fix the chromium build without causing a darwin
stdenv rebuild.

The full fix can be found in #123103 and should probably be included in
the next staging-next rotation.
2021-05-15 17:40:24 +02:00
..
bintools llvmPackages_12: Create subdirectories for the last two packages 2021-04-24 11:43:29 +02:00
clang llvmPackages: Multuple outputs for everythting 2021-04-30 05:41:00 +00:00
compiler-rt llvmPackages_{10,11,12}.compiler-rt: install resource txts to $out/share 2021-05-15 17:40:24 +02:00
libcxx llvmPackages_12: Always use the attribute name for pname 2021-04-24 11:43:29 +02:00
libcxxabi llvmPackages: Multuple outputs for everythting 2021-04-30 05:41:00 +00:00
libunwind llvmPackages: Multuple outputs for everythting 2021-04-30 05:41:00 +00:00
lld llvmPackages: Multuple outputs for everythting 2021-04-30 05:41:00 +00:00
lldb llvmPackages: Multuple outputs for everythting 2021-04-30 05:41:00 +00:00
llvm llvmPackages: Multuple outputs for everythting 2021-04-30 05:41:00 +00:00
openmp llvmPackages_12: Create subdirectories for the last two packages 2021-04-24 11:43:29 +02:00
default.nix Merge #122044: compiler-rt: Fix build by passing resource dir 2021-05-12 22:55:14 +02:00