nixpkgs/pkgs/development/compilers/llvm/9
sternenseemann 0046076950 llvmPackages_{7-12}.compiler-rt: install resource files to DATADIR
This is in an effort to fix the following build failure shown by
chromium:

    clang++: error: no such file or directory: '/nix/store/fhd89wrmkx6nflzjk0d6waz70bk3zc4i-clang-wrapper-12.0.0/resource-root/share/cfi_blacklist.txt'

As it turns out a change introduced via the gnu-install-dirs.patch
caused `add_compiler_rt_resource_file` to install resource files to
$dev/include (FULL_INCLUDEDIR) instead of $out/share (FULL_DATADIR)
which in turn meant that the clang wrappers we had didn't link those
files to its resource root at all.

Alternative fix to this would have been to link
compiler-rt.dev/include/*.txt to the wrappers resource-root/share as
well, but since this was handled inconsistently across the patch anyways
(the dfsan list is installed correctly), opt to handle this
consistently within the patch.

llvmPackages_{5,6} install the resource files to a completely different
location and need separate investigation.
2021-05-15 18:35:43 +02:00
..
clang llvmPackages: Multuple outputs for everythting 2021-04-30 05:41:00 +00:00
compiler-rt llvmPackages_{7-12}.compiler-rt: install resource files to DATADIR 2021-05-15 18:35:43 +02:00
libc++ llvmPackages: Multuple outputs for everythting 2021-04-30 05:41:00 +00:00
libc++abi 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
bintools.nix llvm: setup some symlinks for compatibility with binutils 2020-07-28 15:08:46 -05:00
default.nix Merge #122044: compiler-rt: Fix build by passing resource dir 2021-05-12 22:55:14 +02:00
openmp.nix llvm_{5,6,8..11}: fix missing lib from stdenv.lib -> lib (#110643) 2021-01-24 01:31:45 +01:00