Matthew Bauer
da38a49a24
treewide: mark bad packages
...
Some old stuff is known not to work.
2019-04-26 21:55:11 -04:00
Graham Christensen
49551b6feb
llvm: mark as big-parallel
...
Big parallel jobs get many more (45) aarch64 cores than standard builds.
2019-03-17 08:29:14 -04:00
Matthew Bauer
5d0b0bbf30
Merge pull request #56030 from matthewbauer/revert-72e176
...
Revert "libcxx: add linker scripts for libc++.a to ensure libc++abi.a…
2019-02-19 11:45:37 -05:00
Matthew Bauer
8cb7ea7dae
Revert "libcxx: add linker scripts for libc++.a to ensure libc++abi.a is properly linked"
...
This reverts commit 72e1764199
.
This causes the GHC panic reported in issue #55848 .
2019-02-18 20:52:08 -05:00
Matthew Bauer
77550df8e6
cc-wrapper: add libcxx for libcxxClang
...
clang needs to find headers + libraries for compiling with libc++. We
need to add a libcxx argument to cc-wrapper. This means you do not
have to pass in c++ headers directly.
This resolves the last case remaining of #30670 . Darwin clang++ now
works properly.
Fixes #30670
2019-01-26 22:45:15 -05:00
Jan Tojnar
ef935fa101
Merge branch 'master' into staging
2018-12-24 15:02:29 +01:00
Jörg Thalheim
1b146a8c6f
treewide: remove paxutils from stdenv
...
More then one year ago we removed grsecurity kernels from nixpkgs:
https://github.com/NixOS/nixpkgs/pull/25277
This removes now also paxutils from stdenv.
2018-12-22 12:55:05 +01:00
James Kay
72e1764199
libcxx: add linker scripts for libc++.a to ensure libc++abi.a is properly linked
2018-12-17 18:59:19 +00:00
James Kay
d8699a9a5b
libcxxabi: also install libc++abi.a
2018-12-17 12:22:29 +00:00
Matthew Bauer
adcf4aa524
lldb: use provided INSTALL_NAME_DIR
...
Fixes #47886
We don’t want llvm to set the install name for us. It should be the
one given to us.
2018-12-15 13:27:02 -06:00
Matthew Bauer
1d6b0eb7dd
lldb: add cf-private on darwin
...
This is necessary to avoid objc errors like:
"_OBJC_CLASS_$_NSDictionary", referenced from:
objc-class-ref in liblldbHost.a(HostInfoMacOSX.mm.o)
objc-class-ref in liblldbPluginPlatformMacOSX.a(PlatformiOSSimulatorCoreSimulatorSupport.mm.o)
ld: symbol(s) not found for architecture x86_64
2018-12-15 13:27:01 -06:00
Michael Raskin
4a854344b7
Merge pull request #48721 from oxij/tree/mass-rebuild-complicated-cleanups
...
treewide: mass rebuild complicated cleanups
2018-10-29 19:17:28 +00:00
Jan Malakhovski
110f16e43e
llvm_5: cleanup with a mass rebuild, but no idea why, and can not test
2018-10-21 18:26:37 +00:00
John Ericson
2b4b7d4ef3
Merge pull request #47233 from oxij/tree/mass-rebuild-noop-cleanups
...
treewide: mass rebuild noop cleanups
2018-09-25 00:04:52 -04:00
Vladimír Čunát
3a09a4b579
Merge branch 'master' into staging
...
Hydra: ?compare=1480463
2018-09-24 21:18:23 +02:00
Will Dietz
167e799d81
llvm*: http -> https, prefer releases.llvm.org
2018-09-23 13:30:18 -05:00
Jan Malakhovski
d2674c5e15
llvm_5: cleanup with a mass rebuild
2018-09-23 17:30:32 +00:00
Dan Peebles
110c252870
cctools: support LTO on Darwin
...
LTO is disabled during bootstrap to keep the bootstrap tools small and
avoid unnecessary LLVM rebuilds, but is enabled in the final stdenv
stage and should be usable by normal packages.
2018-09-16 02:12:11 -04:00
Matthew Bauer
b32d0a41d0
llvm: fix triple setting
...
llvm is a library so it should just need to know about build & host.
GCC will already have a cross compiler built.
/cc @Ericson2314 @dtzWill
2018-08-02 17:04:47 -04:00
Matthew Bauer
1461b90bed
llvm: fix triple setting
...
llvm is a library so it should just need to know about build & host.
GCC will already have a cross compiler built.
/cc @Ericson2314 @dtzWill
2018-08-02 16:53:03 -04:00
Matthew Bauer
c7d77c90c6
llvm5: disable tests on cross compilers
...
This appears to be broken currently.
https://hydra.nixos.org/build/77597880
/cc @Ericson2314
2018-07-31 21:44:58 -04:00
Lluís Batlle i Rossell
f54b387b63
Merge remote-tracking branch 'central/master' into viric_clean
2018-07-28 19:25:14 +02:00
Daiderd Jordan
2e09219564
llvm-manpages: fix build
2018-07-28 00:08:31 +02:00
Daiderd Jordan
3ec81ae27e
llvm-packages: fix manpages with python-boot and cleanup
...
On darwin llvmPackages is built using python-boot to avoid dependencies
in the stdenv, but we can't and shouldn't use that when building the
manpages since it depends on python packages.
2018-07-28 00:08:26 +02:00
Lluís Batlle i Rossell
66d7126255
Take me (viric) out of most maintenance
...
Since years I'm not maintaining anything of the list below other
than some updates when I needed them for some reason. Other people
is doing that maintenance on my behalf so I better take me out but
for very few packages. Finally!
2018-07-22 21:50:19 +02:00
volth
52f53c69ce
pkgs/*: remove unreferenced function arguments
2018-07-21 02:48:04 +00:00
Will Dietz
7088489223
llvm-{5,6}: unconditionally set triples
...
Previously we only set these when using musl.
See https://github.com/NixOS/nixpkgs/pull/42452#discussion_r197618464
Same should be done for changes in #42452 ,
I'll add a follow-up commit doing so in the PR containing this
or wherever makes sense-- depending on how review/merging of that goes.
Sending similar changes for LLVM 4 to master, as suggested.
2018-06-23 14:06:55 -05:00
John Ericson
92cef7ad42
compiler-rt 5: Fix double space
2018-06-14 20:25:38 -04:00
John Ericson
6e7e22da70
llvm 5: split out compiler-rt and remove libcxxabi dep
...
We already did them on non-mass-rebuild llvm 6. Also, this allows
simplifying the stdenv booting.
We were missing the libcxxabi dep in compile-rt in llvm 6, so fixed that
too.
2018-06-14 19:22:15 -04:00
John Ericson
1eacf21bd4
darwin bootstrapping: Avoid overriding aliases for LLVM
...
Respect the fix points and aliases by overriding originals.
2018-06-14 15:05:18 -04:00
John Ericson
7156f46949
llvm 3.8+: Remove unneeded libcxxabi dependency
...
Evidentally this hasn't been needed for a while
2018-06-13 21:06:00 -04:00
John Ericson
d7144e708b
Merge remote-tracking branch 'upstream/master' into staging
2018-05-23 16:00:04 -04:00
John Ericson
58fd684c76
llvm: Separate tools and libraries for clarity
...
Especially provides clarity with respect to cross.
2018-05-23 14:42:06 -04:00
John Ericson
18742471af
Merge remote-tracking branch 'upstream/master' into staging
...
Use newer vagrant from master
2018-05-23 09:40:37 -04:00
John Ericson
acc9843691
llvm: Starting to fix Clang wrapping and stdenv building for cross
2018-05-23 00:42:47 -04:00
John Ericson
25e866a7fe
treewide: Less {cc,bintools}-wrapper eta expansion
...
Also makes the LLVM ones more correct
2018-05-23 00:27:30 -04:00
John Ericson
4f7cdd35d5
Merge pull request #40139 from obsidiansystems/modular-setup-hooks
...
treewide: Modular setup hooks
2018-05-07 15:32:10 -04:00
John Ericson
2110c0bd30
treewide: Use pkgs/build-support/roles.bash to remove copy pasta
...
Also fix some setup hooks that unnecessarily used environment hooks,
which revolted in the same variable being modified too many times.
2018-05-07 15:10:37 -04:00
Will Dietz
27d716f4b5
llvm5: 5.0.1 -> 5.0.2
2018-05-04 11:03:21 -05:00
John Ericson
88d18d2e04
Merge pull request #39947 from obsidiansystems/libcxx-cross
...
lib{std,}c++: Fix setup hooks for cross
2018-05-03 18:20:13 -04:00
John Ericson
39df5831ca
lib{std,}c++: Fix setup hooks for cross
2018-05-03 17:55:03 -04:00
Matthew Bauer
9ee69c27c9
llvm: remove libedit from clang
...
clang should never need libedit. From what I understand this is only
needed by LLDB.
https://github.com/llvm-mirror/clang/search?q=libedit
2018-04-17 09:52:08 -05:00
Matthew Glazar
2505aa51a4
clang: fix install on Darwin
...
As of Nix 2.0, building the `user-environment` package on macOS (Darwin)
fails because LLVMgold.so is a broken symlink. Fix the issue by not
creating the symlink in the first place, since it wouldn't be used on
Darwin anyway.
2018-04-15 21:12:03 -07:00
Matthew Glazar
d3d0c0196e
clang: refactor post-install comments
...
Throughout the evolution of the Clang packages, some comments have
become misplaced. Put some of Clang's postInstall comments next to the
lines they refer to.
2018-04-15 21:10:22 -07:00
Will Dietz
a8824ab4fb
llvm_5: patch sanitizers to enable w/musl
...
https://gitweb.gentoo.org/proj/musl.git/plain/sys-libs/compiler-rt-sanitizers/files/compiler-rt-sanitizers-5.0.0-musl-patches.patch
2018-03-14 20:04:20 -05:00
Will Dietz
e5e69a7aed
libc++5: tweak expression so as to avoid rebuild on non-musl for now
2018-02-19 12:43:42 -06:00
Will Dietz
fa8a511260
llvmPackages_{4,5}: musl compat
2018-02-19 11:19:32 -06:00
Will Dietz
64e4c98a7f
llvm-5: add extra 'python' output for opt-viewer tool
2018-02-02 06:30:09 -06:00
Daniel Peebles
d18af2680d
Revert "clang-{4,5}: prefer python3, much friendlier for cross"
2018-01-23 10:13:07 -05:00
John Ericson
796e2e8c75
Merge pull request #34177 from dtzWill/fix/llvm-remove-unneeded-deps
...
llvm-{4,5}: remove perl, groff -- not needed
2018-01-22 19:26:29 -05:00
Will Dietz
973d4f5354
clang-{4,5}: prefer python3, much friendlier for cross
2018-01-22 17:31:37 -06:00
Will Dietz
7e52676240
llvm-{4,5}: remove perl, groff -- not needed
2018-01-22 17:29:14 -06:00
Vladimír Čunát
82c78b86c7
clang: mass-rebuild code cleanup
2018-01-21 15:48:35 +01:00
Vladimír Čunát
a94c7ba096
Merge branch 'master' into staging
...
Hydra: ?compare=1428079
2018-01-21 15:47:08 +01:00
Vladimír Čunát
5fb5beb929
Merge #33948 : {llvm,clang}-{4,5}: better man-pages
...
Don't rebuild entire projects just to get manpages.
2018-01-21 11:35:10 +01:00
Tuomas Tynkkynen
884a167f87
Merge remote-tracking branch 'upstream/master' into staging
2018-01-17 12:52:47 +02:00
Tuomas Tynkkynen
67c73b4e64
Merge commit '2e56ba' from staging into master
2018-01-17 12:50:46 +02:00
Will Dietz
74bcd87ed9
lldb-{4,5}: install manpage
2018-01-16 15:15:41 -06:00
Daiderd Jordan
917429233b
clang: patch cmake files for lib output
...
Fixes cmake build issues introduced in #33342 .
2018-01-16 21:46:43 +01:00
Will Dietz
514f67e3a8
clang-{4,5}: set postBuild to empty string to avoid rebuild for now
2018-01-16 14:08:59 -06:00
Will Dietz
33c132e9b3
llvm-{4,5}: don't build entire project to get the manpages
...
Much cheaper to build this way.
Also this gives them a different name to avoid confusion
and clutter when using `nix-env -qaP` or similar.
2018-01-16 14:08:58 -06:00
Daiderd Jordan
e66a5f8862
Merge pull request #33342 from LnL7/clang-outputs
...
clang: add lib output
2018-01-07 09:43:38 +01:00
Daiderd Jordan
812f7714e2
clang: move libclang to separate lib output
...
Currently clang-unwrapped can't be used as a buildInput without also
shadowing clang/clang++ of a clang based stdenv.
2018-01-02 00:50:01 +01:00
Orivej Desh
e63b2fbfb3
Merge pull request #32870 from dtzWill/update/llvm-5.0.1
...
llvm 5: 5.0.0 -> 5.0.1
2017-12-29 07:59:15 +00:00
John Ericson
4651407654
darwin stdenv: Make stdenv.cc, not stdenv, bring in libcxx
...
stdenvNoCC should not inject any C++ standard library, just as it
doesn't inject any C standard library. stdenv still does, but only
indirectly through stdenv.cc. Wrapped clangs can be simplified now that
they don't need to worry about clobbering CoreFoundation when replacing
the C++ standard library implementation.
This generally-good cleanup should assist with debugging some C++
failures in #26805 .
2017-12-25 19:32:07 -05:00
Will Dietz
e9aa0d3f0f
llvm 5: 5.0.0 -> 5.0.1
2017-12-21 15:54:08 -06:00
John Ericson
2bba929062
bintools-wrapper: Import separately from cc-wrapper
2017-12-13 16:08:18 -05:00
Tuomas Tynkkynen
fc26ff04b2
llvm: Include aarch64 patch in repo
...
The URL is already a dead link.
2017-11-29 17:01:17 +02:00
Tuomas Tynkkynen
0ea6ab8097
llvm_{4,5}: Add Aarch64 patch
...
https://reviews.llvm.org/D40423
2017-11-28 14:51:40 +02:00
John Ericson
e65259f00c
LLVM: Get binutils plugin header from libbfd
2017-11-13 08:46:13 -05:00
Dan Peebles
b426c85ce2
Get rid of most @rpath nonsense on Darwin
...
This requires some small changes in the stdenv, then working around the
weird choice LLVM made to hardcode @rpath in its install name, and then
lets us remove a ton of annoying workaround hacks in many of our Go
packages. With any luck this will mean less hackery going forward.
2017-10-08 16:13:46 -04:00
Will Dietz
fb7ebf3c93
llvm: init 5.0
2017-09-26 16:51:17 -05:00