Will Dietz
b2e6952f37
llvm4: same treatment
2018-03-14 20:04:38 -05:00
Will Dietz
535ba5f7f7
lldb_4: fix w/gcc7
...
Same fix used in swift4, FWIW.
2018-03-07 17:38:15 -06:00
Will Dietz
fa8a511260
llvmPackages_{4,5}: musl compat
2018-02-19 11:19:32 -06:00
Will Dietz
5bf5e6eebf
llvm4: always apply fix, improve compat, fix w/musl
2018-02-13 09:45:01 -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
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
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
aszlig
44cb95a234
llvmPackages/libc++: Fix build against glibc 2.26
...
This is very similar to what we had in bb0b0822ef
.
The xlocale.h header is no longer existing in glibc version 2.26, so we
need to avoid including it.
I've tested building against all of the libcxx attributes of LLVM 3.5,
3.7, 3.8, 3.9, 4 and 5.
All of them succeeded except version 3.5, which failed because of an
unrelated issue (build of libc++abi has failed, one of its
dependencies), so I only verified whether the patch applies cleanly.
Signed-off-by: aszlig <aszlig@nix.build>
Cc: @vcunat
2017-11-08 22:08:11 +01:00
Vladimír Čunát
e0a36522a7
llvm 3.7--4: fixup build with glibc-2.26
2017-11-07 09:17:00 +01:00
Daniel Peebles
416979f3f7
Merge pull request #30150 from copumpkin/no-rpath-nonsense
...
Get rid of most @rpath nonsense on Darwin
2017-10-08 16:21:27 -04: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
Philipp Gesang
0e2e3afd65
llvm: download source over https
...
The source distribution contains binaries (probably for testing) that
make the Avira virus scanner treat it as malware on account of a “bad
ELF header”. Apart from being preferable in general, the HTTPS download
makes the file opaque to the overeager AV scanner in transparent
proxying setups.
Also adapt to the fact that the canonical downloads now point to a URL
like this:
https://releases.llvm.org/4.0.1/llvm-4.0.1.src.tar.xz
2017-10-05 12:17:29 +02:00
John Ericson
0d12d040e7
Merge pull request #29402 from obsidiansystems/binutils-output-ref
...
treewide: Fix some references to binutils
2017-09-14 18:51:12 -04:00
John Ericson
bf7b521500
treewide: Fix some references to binutils
...
- Compiler's shouldn't use `binutils.dev` as that doesn't yet exist
with a cross binutils.
- Last two `binutils.binutils` which weren't reverted
2017-09-14 18:12:54 -04:00
John Ericson
349a09228e
Merge pull request #29246 from LnL7/clang-stdenv
...
clang-stdenv: move libstdcxxHook to cc-wrapper
2017-09-13 16:21:41 -04:00
Daiderd Jordan
ac88515052
clang-stdenv: move libstdcxxHook to cc-wrapper
2017-09-13 20:51:41 +02:00
John Ericson
5aec3f96a2
treewide: Use *Platform.extensions
2017-09-13 11:16:10 -04:00
Daiderd Jordan
907222098a
clang-stdenv: use libstdcxxHook when targeting linux
2017-09-05 21:37:06 +02:00
Franz Pletz
637e33e616
llvm: disable failing tests on i686
2017-08-22 01:40:54 +02:00
Daiderd Jordan
37c599fe8c
Merge pull request #26429 from aherrmann/pr_llvm_4_fix_debug
...
llvm_4: Fix debugVersion
2017-07-17 21:27:52 +02:00
Vladimír Čunát
1e1472ed93
llvmPackages_4: don't change *.outputs
...
It was blocking channel(s). See:
https://github.com/NixOS/nixpkgs/pull/26818#issuecomment-315020922
2017-07-13 13:07:42 +02:00
Vladimír Čunát
f171b95e44
Merge #26905 : llvmPackages_4: 4.0.0 -> 4.0.1
2017-07-05 09:01:26 +02:00
Will Dietz
495a022e44
llvmPackages_4: 4.0.0 -> 4.0.1
2017-06-27 09:05:37 -05:00
Daiderd Jordan
071803955e
llvm-packages: mark manpages as lowPrio
2017-06-26 20:25:14 +02:00
Daiderd Jordan
f60a36a910
llvm-packages: get rid of extra build depedencies for manpages
...
Fixes #26756
2017-06-26 20:24:16 +02:00
Andreas Herrmann
1cfed62073
llvm_4: Fix debugVersion
...
Previously failed on installation phase
when `substituteInPlace` could not find the cmake exports file.
2017-06-06 21:39:18 +02:00
Frederik Rietdijk
7578940392
Merge remote-tracking branch 'upstream/master' into HEAD
2017-06-05 12:46:08 +02:00
Daiderd Jordan
9e2aba3572
darwin-stdenv: remove python-sphinx and a bunch of other dependencies from the stdenv
2017-06-01 23:23:56 +02:00
Matthew Bauer
29acc510c0
lldb: fix on Darwin
...
This gives a few fixes for LLDB on Darwin. Note: you will have to do code
signing for it to work outside of root!
2017-05-31 19:59:36 -07:00
Daiderd Jordan
b3fb9178e8
llvm-packages: add option to enable manpages
2017-05-31 20:16:13 +02:00
Vladimír Čunát
538aa0f808
Merge branch 'staging' (early part)
...
The comparison looks nice on Hydra.
2017-05-30 16:08:21 +02:00
Daiderd Jordan
82b0b57580
clang: fix libclang library id on darwin
2017-05-28 20:34:35 +02:00
Will Dietz
5e659e94a6
lldb-4: Patch to fix libedit usage on Linux
...
Idea from:
https://bugs.llvm.org//show_bug.cgi?id=28898#c7
Fixes ability to use arrow keys.
2017-05-27 14:10:01 -05:00