Commit Graph

885 Commits

Author SHA1 Message Date
Vladimír Čunát
68c40000a7
Merge #141397: llvmPackages_{5,6,7}.compiler-rt: fix patches 2021-10-21 20:26:37 +02:00
Sergei Trofimovich
a410420844 pkgsStatic.llvmPackages_{{5..13},git}.compiler-rt: drop unused musl patches
Commit 199b7c50 "compiler-rt: remove <cyclades.h> from libsanitizer"
broke conditional conditional musl patches.

The change has a few effects:
- pkgsStatic.llvmPackages_{5,6,7}.compiler-rt: fix build on musl after cyclades backport
- pkgsStatic.llvmPackages_{{5..13},git}.compiler-rt: drop incomplete musl patches as
  sanitizers are disabled anyway and require more upstream porting.
2021-10-21 18:42:31 +01:00
pennae
dc895fb281 lib: make extendDerivation lighter on eval
the fix to extendDerivation in #140051 unwittingly worsened eval performance by
quite a bit. set elements alone needed over 1GB extra after the change, which
seems disproportionate to how small it was. if we flip the logic used to
determine which outputs to install around and keep a "this one exactly" flag in
the specific outputs instead of a "all of them" in the root we can avoid most
of that cost.
2021-10-15 16:39:10 +02:00
Ryan Burns
a3cd66ba95
Merge pull request #137259 from quyse/llvm13_libcxxabi_musl
llvmPackages_13, llvmPackages_git: libcxxabi: fix musl build
2021-10-14 20:07:11 -07:00
Bernardo Meurer
45be479255
llvmPackages_rocm.compiler-rt: replace dead patch with clone 2021-10-05 19:17:59 -07:00
Domen Kožar
b095319218
Merge pull request #140575 from jkarlson/llvmworkaround
llvmPackages_13.compiler-rt: disable libfuzzer for aarch64
2021-10-05 10:46:16 -05:00
Emil Karlson
248936ea57 llvmPackages_13.compiler-rt: disable libfuzzer for aarch64
Libfuzzer fails to compile for aarch64 #140441.
This change allows us to have sufficient functionality to build latest chromium.
2021-10-05 10:18:58 +03:00
github-actions[bot]
d03095b67a
Merge master into staging-next 2021-10-02 12:01:09 +00:00
Michael Weiss
ed2c99e65f
llvmPackages_13: 13.0.0-rc4 -> 13.0.0 2021-10-01 22:10:21 +02:00
Josh Hoffer
2549800a1a compiler-rt: cont. remove <cyclades.h> from libsanitizer
See commit 199b7c505b for the
original issue.

This patch is from the upstream rocm llvm repo:
https://reviews.llvm.org/rG884040db086936107ec81656aa5b4c607235fb9a
2021-09-29 22:28:16 -06:00
github-actions[bot]
5dd6e3a959
Merge staging-next into staging 2021-09-25 18:01:44 +00:00
Michael Weiss
8bc030eb13
llvmPackages_13: 13.0.0-rc3 -> 13.0.0-rc4 2021-09-25 13:52:14 +02:00
Timothy DeHerrera
4493c55376
Merge pull request #139008 from trofi/fix-llvm-5-for-gcc-11
llvm_5: disable print_context.c (fails on gcc-11 / dwarf-5)
2021-09-23 20:19:29 -06:00
github-actions[bot]
194b50aba8
Merge staging-next into staging 2021-09-23 06:01:47 +00:00
Divam
d32e0e6b1b llvmPackages_13.lld: add postPatch to fix Darwin build 2021-09-23 09:17:31 +09:00
Sergei Trofimovich
02310b34b5 llvm_5: disable print_context.c (fails on gcc-11 / dwarf-5)
gcc-11 defaults to -gdwarf-5 and makes llvm symbolizer test fail.
As it's the only failing test let's just skip it for llvm-5.
2021-09-22 21:43:16 +01:00
Sergei Trofimovich
199b7c505b compiler-rt: remove <cyclades.h> from libsanitizer
linux-headers-5.13 removed <cyclades.h> along with device support.
Backport a single https://reviews.llvm.org/D102059 upstream change to
fix compiler-rt build.

Use local patches as there is a whitespace change compared to upstream.
2021-09-20 19:37:19 +01:00
Michael Weiss
3dc28072b6
Merge pull request #137891 from primeos/llvmPackages_13
llvmPackages_13: 13.0.0-rc2 -> 13.0.0-rc3
2021-09-17 23:21:08 +02:00
Michael Weiss
d4f61aa164
llvmPackages_13: 13.0.0-rc2 -> 13.0.0-rc3 2021-09-14 22:49:56 +02:00
github-actions[bot]
a13bf1828b
Merge master into staging-next 2021-09-12 18:01:21 +00:00
Daniël de Kok
6f2ce2a65e treewide: remove danieldk as maintainer from a set of packages
I currently do not have much time to work on nixpkgs. Remove
myself as a maintainer from a bunch of packages to avoid that
people are waiting on me for a review.
2021-09-12 14:42:12 +00:00
Alyssa Ross
56314db098
Merge remote-tracking branch 'nixpkgs/master' into staging-next
Conflicts:
	pkgs/development/compilers/ghc/8.10.7.nix
	pkgs/development/compilers/ghc/8.8.4.nix

I've removed the isWindows check from useLdGold in ghc, since that should
be covered by the new hasGold check.
2021-09-11 10:49:13 +00:00
Rick van Schijndel
517d2b963f llvm_12: fix cross-compilation
Cross-compilation is broken because the method of finding ncurses has
changed, causing the build for the 'build system' to fail with a linking
error due to ncurses being for the 'host system' (where you're compiling
for).

This patch disables ncurses, which is not a very neat solution, but will
do until someone takes this upstream and gets it fixed properly.

Closes https://github.com/NixOS/nixpkgs/issues/127946.

Error that's seen before applying this:

/nix/store/hash-binutils-2.35.1/bin/ld: /nix/store/hash-ncurses-6.2-aarch64-unknown-linux-gnu/lib/libtinfo.so: error adding symbols: file in wrong format
2021-09-11 06:57:25 +00:00
Alexander Bich
2c6f116448 llvmPackages_13, llvmPackages_git: libcxxabi: fix musl build 2021-09-10 13:55:35 +03:00
github-actions[bot]
dbebaeb8ba
Merge master into staging-next 2021-09-09 18:01:06 +00:00
Sebastian Neubauer
61a2864b18 llvmPackages_rocm: add update script 2021-09-09 15:42:07 +02:00
github-actions[bot]
31efc58eb0
Merge master into staging-next 2021-09-08 18:01:03 +00:00
Bernardo Meurer
739c25621f
Merge pull request #136445 from lovesegfault/rocm-hip
hip: init at 4.3.1
2021-09-08 10:45:57 -07:00
github-actions[bot]
e3f1f8bba2
Merge master into staging-next 2021-09-04 00:01:34 +00:00
Michael Weiss
5661f7dbee
llvmPackages_13.compiler-rt: Mark as broken on Aarch64
To avoid unnecessary builds but this needs to be fixed ASAP. Chromium
already depends on it and a lot of additional packages, including Mesa,
will depend on it after the stable release.
2021-09-03 23:13:43 +02:00
Bernardo Meurer
e3b026fdba
llvmPackages_rocm: 4.1.0 -> 4.3.1 2021-09-02 13:04:11 -07:00
Bernardo Meurer
e4459e59a2
llvmPackages_rocm: add compiler-rt
Co-Authored-By: acowley <acowley@users.noreply.github.com>
2021-09-02 12:21:44 -07:00
Martin Weinelt
e2575c7de1
Merge branch 'master' into staging-next 2021-08-30 16:08:03 +02:00
Tom Repetti
c33c7c3d5f
clang_11: Fix RISC-V builds for compiler-rt. (#135718)
Closes: #135628
2021-08-29 19:31:30 -04:00
Michael Weiss
ae75e98913
Merge pull request #136061 from primeos/llvmPackages_git
llvm/update-git.py: Automatically commit the changes
2021-08-28 23:18:31 +02:00
Michael Weiss
00e380f1be
llvmPackages/update.sh: Support LLVM 13+ 2021-08-28 22:55:08 +02:00
Michael Weiss
680c2e60c9
llvm/update-git.py: Automatically commit the changes 2021-08-28 22:54:31 +02:00
github-actions[bot]
dbad333a72
Merge master into staging-next 2021-08-28 12:01:06 +00:00
Michael Weiss
b9e35f1c86
Merge pull request #135923 from primeos/llvmPackages_13
llvmPackages_13: 13.0.0-rc1 -> 13.0.0-rc2
2021-08-28 11:34:11 +02:00
github-actions[bot]
b7f2a7d1ba
Merge master into staging-next 2021-08-28 00:01:34 +00:00
Michael Weiss
bac15390f5
llvmPackages_13: 13.0.0-rc1 -> 13.0.0-rc2
Upstream backported 5060224d9eed8b8359ed5090bb7c577b8575e9e7:
93da37dc58
2021-08-28 00:00:47 +02:00
Michael Weiss
6bb97886ad
llvmPackages_git: 2021-08-03 -> 2021-08-13 2021-08-27 20:14:28 +02:00
github-actions[bot]
10ce8bb753
Merge master into staging-next 2021-08-27 00:01:31 +00:00
Yureka
f8230bb0f4 llvmPackages_13.libcxx: mark as broken on darwin 2021-08-20 23:07:43 +02:00
Yureka
b0f27ee74d llvmPackages_*: expose release_version 2021-08-20 23:07:43 +02:00
Yureka
48d1e393c0 llvm_13: fix tests on non-x86 platforms 2021-08-20 23:07:43 +02:00
Yureka
91b15b6dcf llvm_13: workaround for llvm bug 50611
https://bugs.llvm.org/show_bug.cgi?id=50611
2021-08-20 23:07:43 +02:00
Jan Tojnar
513701efce Merge branch 'staging-next' into staging 2021-08-15 10:45:11 +02:00
Michael Weiss
50fb63e197
llvmPackages_git: 2021-07-16 -> 2021-08-03 2021-08-14 15:15:52 +02:00
github-actions[bot]
7ae0b00541
Merge staging-next into staging 2021-08-11 18:01:46 +00:00