Vladimír Čunát
f4d1bcb9a7
llvm: fix #22567 oversaturated red icons
2017-02-11 11:03:59 +01:00
Robin Gloster
c67805ff17
llvmPackages_36: remove
2017-01-27 20:12:54 +01:00
Daiderd Jordan
27660cfdc0
Merge branch 'master' into staging
2017-01-04 01:42:26 +01:00
Daiderd Jordan
538d1b688a
stdenv: bootstrap cmake and python on darwin
2017-01-03 18:01:47 +01:00
Daiderd Jordan
2bb33130cc
Merge pull request #21541 from veprbl/libcpp37
...
libc++3.7: fix to use with clang 3.9
2017-01-02 00:39:30 +01:00
Dmitry Kalinkin
e9d60c5636
libc++3.7: fix to use with modern compilers
...
Modern compiler will issue a following error whenever '#include <string>'
is done:
/nix/store/yxpwamjdapjcp53mmsdh1j2c9bc26h4k-libc++-3.7.1/include/c++/v1/string:1938:44:
error: 'basic_string<_CharT, _Traits, _Allocator>' is missing exception specification 'noexcept(is_nothrow_copy_constructible<allocator_type>::value)'
basic_string<_CharT, _Traits, _Allocator>::basic_string(const allocator_type& __a)
^
/nix/store/yxpwamjdapjcp53mmsdh1j2c9bc26h4k-libc++-3.7.1/include/c++/v1/string:1326:40:
note: previous declaration is here
_LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type& __a)
^
1 error generated.
This happens because modern clang is more strict about checking
exception specification for forward declaration and definition.
http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/string?r1=242056&r2=242623&diff_format=h
2016-12-30 16:16:14 -05:00
Will Dietz
10b8cfbdbd
llvm: 3.9.0 -> 3.9.1
2016-12-28 12:56:55 -06:00
Tuomas Tynkkynen
8a4d6516ee
Merge remote-tracking branch 'upstream/staging' into master
2016-11-30 00:34:23 +02:00
Vladimír Čunát
b67ae8b33c
llvmPackages*.lldb: fixup input by disabling libedit
...
Fixes #20773 . https://llvm.org/bugs/show_bug.cgi?id=28898
Of course, feel free to find a better solution.
I love this copy&paste :-/
2016-11-28 19:02:15 +01:00
Frederik Rietdijk
7ab6edd171
llvm_34: use python2
2016-11-24 22:28:03 +01:00
Shea Levy
459ab0e0fd
Whoops, actually add patch for llvm
2016-11-15 16:41:24 -05:00
Shea Levy
f615df9599
llvm-3.8: Fix segfault in llc
2016-11-15 16:39:08 -05:00
Frederik Rietdijk
7077a270bf
Merge remote-tracking branch 'upstream/master' into HEAD
2016-10-26 13:06:43 +02:00
Shea Levy
be02229f06
Add libcxxStdenv attribute to recent llvm package sets
2016-10-25 10:29:40 -04:00
Frederik Rietdijk
e56832d730
Merge remote-tracking branch 'upstream/master' into HEAD
2016-10-22 17:23:24 +02:00
Anthony Cowley
0f6ef7c41c
llvm_39: fix on darwin
2016-10-19 01:53:13 -04:00
Frederik Rietdijk
284f22d19e
lldb 3.7: use python2
...
just like llvm 3.7
2016-10-18 23:16:10 +02:00
Frederik Rietdijk
adbaed0815
llvm 3.7: use python2
2016-10-18 23:16:03 +02:00
Daniel Peebles
77d1fb94f1
Merge pull request #19470 from copumpkin/fix-sierra
...
Fix Darwin stdenv to work on Sierra
2016-10-12 19:04:03 -04:00
Dan Peebles
d8a0307a5d
[darwin.stdenv] Fix to work on Sierra
...
This reinstates the libSystem selective symbol export machinery we used
to have, but locks it to the symbols that were present in 10.11 and skips
the actual compiled code we put into that library in favor of the system
initialization code. That should make it more stable and less likely to
do weird stuff than the last time we did this.
2016-10-12 00:08:13 -04:00
Vladimír Čunát
56e9bbfe65
Merge #18130 : llvmPackages_38: 3.8.0 -> 3.8.1
2016-10-11 22:29:59 +02:00
Will Dietz
5b3bf1fffa
llvm-3.8: Fix clang build on non-darwin.
...
'set-xcode-analyzer' is only installed on APPLE.
2016-10-09 16:57:40 +02:00
Jörg Thalheim
54867a0400
Merge pull request #19131 from aneeshusa/remove-redundant-cmake-build-type-release-args-part2
...
llvm3.9: Remove -DCMAKE_BUILD_TYPE=Release flags
2016-10-03 14:43:40 +02:00
Tuomas Tynkkynen
19225bf5cc
Merge remote-tracking branch 'upstream/master' into staging
2016-10-02 10:36:47 +03:00
Aneesh Agrawal
c04e46c87d
llvm3.9: Remove -DCMAKE_BUILD_TYPE=Release flags
...
Since commit 183d05a
in 2012, this is the default.
2016-10-01 13:55:42 -04:00
Aneesh Agrawal
fcee1d0b28
Remove redundant -DCMAKE_BUILD_TYPE=Release flags
...
Since commit 183d05a0
in 2012, this is the default.
fixes #18000
2016-10-01 16:13:41 +02:00
Vladimír Čunát
d2965a7d85
llvm-3.9: move shared libLLVM to a separate output
...
Fixes #18840 : too large closure of mesa_drivers.
Tested atop 16.09:
- clang compiles a hello-world app;
- mesa seems to link OK;
- ispc builds.
Size comparison:
- 80 MB of full llvm-3.7 on 16.03;
- 200 MB of full llvm-3.9 on 16.09 before this patch;
- 50 MB of libLLVM after this commit.
2016-09-24 18:32:45 +02:00
Dan Peebles
7b9d3f8605
stdenv-darwin: upgrade a few more things
...
It's a long build and generally painful to split into smaller commits,
so I apologize for lumping many changes into one commit but this is far
easier.
There are still several outdated parts of the darwin stdenv but these
changes should bring us closer to the goal.
Fixes #18461
2016-09-12 01:46:44 -04:00
Vladimír Čunát
a49cb9dcbe
llvmPackages: generalize "3.9.0" string occurrences
...
Discussed:
https://github.com/NixOS/nixpkgs/commit/15af9082eb#commitcomment-18903919
2016-09-11 10:13:34 +02:00
Vladimír Čunát
f5c3115063
llvmPackages_39: rc -> 3.9.0
2016-09-02 20:15:11 +02:00
Gabriel Ebner
15af9082eb
llvmPackages_39: init at 3.9.0rc3
2016-08-31 07:13:35 +02:00
Will Dietz
bffa7de808
llvm: 3.8 -> 3.8.1
2016-08-30 14:34:23 -05:00
Will Dietz
464888c28c
llvm-3.8: Fix lldb build failure due to insecure format use.
2016-08-30 14:32:58 -05:00
Anthony Cowley
29572c28a3
llvm-3.8: build shared library on darwin ( #17671 )
...
- Enable the shared library build on darwin by default to match other
platforms.
- Fix the dylib file's name in the store
- Symlink a versioned name as some tooling expects this.
2016-08-17 13:43:57 +02:00
Joe Hermaszewski
c7281d14f7
clang-3.5: fix build
...
Make Obj public in llvm's IntrusiveRefCntPtr
This fixes NixOs/nixpkgs#15974
It's not a nice fix, as it's really clang's problem. The proper fix
should modify clang's usage of IntrusiveRefCntPtr.
2016-08-03 19:00:39 +01:00
Vladimír Čunát
8bf002daac
libcxx-3.8: apply Darwin-specific patch only on Darwin
...
... to better decouple different platforms (in future).
2016-06-20 15:17:41 +02:00
Vladimír Čunát
c67e08e1af
Merge #16323 : llvmPackages_38 fixes
2016-06-20 15:17:40 +02:00
Benjamin Saunders
46ae67d776
libc++, libc++abi, lldb: fix 3.8
2016-06-18 18:18:22 -07:00
Joachim Fasting
2fe8a98244
llvm: remove bogus paxmarks
...
Refers to non-existent files; see e.g.,
https://hydra.nixos.org/build/36359717/nixlog/1/raw
Likely a copy-paste error that has gone unnoticed because paxmark didn't
do anything, but breaks after 6648b04381
2016-05-28 19:44:03 +02:00
Vladimír Čunát
0b192a0976
Merge branch 'master' into staging
...
That's to get mesa rebuild from master, as it's nontrivial.
2016-05-23 09:02:10 +02:00
Vladimír Čunát
c02f0ade90
fix evaluation on darwin, fixing tarball job fully
2016-05-19 10:04:43 +02:00
Tuomas Tynkkynen
9f8a22fae5
treewide: Make explicit that 'dev' output of binutils is used
2016-05-19 10:00:26 +02:00
Anthony Cowley
43427da31e
llvm_38: update hashes and fix on darwin
...
The hashes for libc++ and libc++abi were wrong.
There was also an incompatibility with nixpkgs on darwin which is now
weakly worked around: the "os_trace" macro changed definition in the OS
X development SDK since version 10.9 as used by nixpkgs. LLVM 3.8 uses
the new version, which I am temporarily replacing with a printf on
darwin as it is only used in one minor location.
2016-05-10 17:09:25 -04:00
Tuomas Tynkkynen
36c4c73575
clang: Add compat lib
attribute to have stdenv.cc.cc.lib
always work
...
Fixes tarball evaluation:
http://hydra.nixos.org/build/35042997/nixlog/1/raw
2016-05-02 00:57:28 +03:00
Vladimír Čunát
ab15a62c68
Merge branch 'master' into closure-size
...
Beware that stdenv doesn't build. It seems something more will be needed
than just resolution of merge conflicts.
2016-04-01 10:06:01 +02:00
Vladimír Čunát
be447475d3
clang-3.5: mark as broken
...
It seems unlikely someone will want to fix it anymore.
2016-03-28 14:42:50 +02:00
Andrew Kelley
f5fe051c71
llvm: 3.7.1 -> 3.8.0 ( close #13801 )
...
vcunat's review:
- let's not switch the default versions of llvm* for now
- the only changes I see is adding python to clang's buildInputs
and using the big so-file as discussed in #12759
(BUILD_SHARED_LIBS -> LLVM_LINK_LLVM_DYLIB)
- in future it will be nice to split libLLVM into a separate output
2016-03-28 13:37:31 +02:00
Vladimír Čunát
09af15654f
Merge master into closure-size
...
The kde-5 stuff still didn't merge well.
I hand-fixed what I saw, but there may be more problems.
2016-03-08 09:58:19 +01:00
Domen Kožar
d72e93f59d
remove lvm_33, fixes #12310
2016-03-02 16:54:30 +00:00
Vladimír Čunát
716aac2519
Merge branch 'staging' into closure-size
2016-01-19 09:55:31 +01:00
Vladimír Čunát
620c147cce
Merge branch 'master' into staging
2016-01-18 09:48:49 +01:00
Joe Hermaszewski
9238521b1c
llvm: Add enableSharedLibraries option to 3.5 and 3.6
2016-01-13 15:21:23 +00:00
Robin Gloster
897fb98a96
llvm: 3.7.0 -> 3.7.1 ( close #12200 )
...
This obsoletes a backport for rust.
2016-01-07 11:12:54 +01:00
janus
f351aaaf85
FreeBSD: use own stdenv, do not run libtiff tests, use PIC for zlib
2016-01-01 17:01:13 +00:00
Vladimír Čunát
f9f6f41bff
Merge branch 'master' into closure-size
...
TODO: there was more significant refactoring of qtbase and plasma 5.5
on master, and I'm deferring pointing to correct outputs to later.
2015-12-31 09:53:02 +01:00
Moritz Ulrich
b45161fbbe
llvm: Add backported patch for Rust.
...
Rust runs into a bug with LLVM 3.7.0 that's fixed in the upcoming
release 3.7.1. This commit backports this fix.
2015-12-24 21:14:06 +01:00
Luca Bruno
5b0352a6a4
Merge branch 'master' into closure-size
2015-12-11 18:31:00 +01:00
Jude Taylor
c20b6846f2
rustc: build on darwin
2015-11-30 12:54:04 -08:00
Vladimír Čunát
333d69a5f0
Merge staging into closure-size
...
The most complex problems were from dealing with switches reverted in
the meantime (gcc5, gmp6, ncurses6).
It's likely that darwin is (still) broken nontrivially.
2015-11-20 14:32:58 +01:00
William A. Kennington III
4251612faa
Merge branch 'master.upstream' into staging.upstream
2015-11-04 01:00:48 -08:00
Jude Taylor
f4f3df5f5d
llvm-3.7: add libcxxabi as a buildInput on darwin
2015-11-02 14:33:51 -08:00
Vladimír Čunát
4917a4f8b3
Merge master into staging
2015-10-23 01:57:14 +02:00
Nikolay Amiantov
d5a532ea8d
Merge pull request #10202 from abbradar/llvm-debug
...
llvm: add debug builds support
2015-10-19 11:15:56 +03:00
William A. Kennington III
8a44a36ca4
Merge branch 'master.upstream' into staging.upstream
2015-10-15 10:22:28 -07:00
Thomas Tuegel
708c8ff240
llvm33: patches from julia-0.4.0
2015-10-11 09:16:06 -05:00
Jude Taylor
0a32eab91e
fix LLVM packages to work in darwin stdenv
2015-10-05 08:46:56 -07:00
Vladimír Čunát
1004d44d80
llvm-3.7: fix build by -lpthread
...
This is strange. Morover, 3.6 builds fine without modifications.
2015-10-04 10:16:34 +02:00
Nikolay Amiantov
e2e4e59975
llvm: add debug builds support
2015-10-03 14:18:57 +03:00
William A. Kennington III
2a0c18835a
llvm: Install utilities for use with rustc
2015-09-21 14:38:49 -07:00
Thomas Tuegel
4a8fbb789a
llvm_33: backport patch from LLVM 3.5
...
This patch was backported from LLVM 3.5 by the Julia project.
2015-09-19 08:14:46 -05:00
Benjamin Saunders
8613179f78
llvm: 3.6 -> 3.7 ( close #9815 )
...
Package changes from 3.6:
- CMake exports patch no longer necessary
- Cosmetic purity patch fix
- Build libc++ with private libc++abi headers visible from sources
- Work around bugs in lldb's configure scripts
2015-09-14 23:47:20 +02:00
William A. Kennington III
2ac70270e8
Merge branch 'master.upstream' into staging.upstream
2015-08-18 11:36:32 -07:00
Sophie Taylor
2e41646441
nixpkgs: llvm v3.5.0 -> v3.5.2
2015-08-18 02:18:04 -07:00
Jude Taylor
fa6c8445c7
make libcxxStdenv work on both darwin and linux
2015-07-27 14:25:40 -07:00
Benjamin Saunders
19f371d8d9
Fix libcxxStdenv on Linux
...
This corrects linkage failures arising from missing -lc++abi and
resolves "unused argument" warnings arising due to -stdlib=libc++
serving no purpose when search paths are being supplied explicitly.
2015-07-26 12:56:49 -07:00
Vladimír Čunát
389c90aa86
llvmPackages*: refactor to use callPackage, etc.
...
Also use recurseIntoAttrs only on the default version (instead of only on 3.4).
The "self" variants (stil) don't build and they're inconsistent
versions. /cc @shlevy (fea2266290
).
2015-07-25 09:13:52 +02:00
William A. Kennington III
711692f18e
llvm: 3.6.1 -> 3.6.2
2015-07-17 14:12:49 -07:00
William A. Kennington III
7eae48871f
Merge branch 'master.upstream' into staging.upstream
2015-07-01 13:38:17 -07:00
Shea Levy
145768bf9b
Unmaintain a bunch of packages
2015-07-01 08:11:05 -04:00
Jude Taylor
b62baacbc1
Revert "Fix libcxxStdenv on Linux"
...
This reverts commit 172ed10426
.
2015-06-29 13:55:12 -07:00
Shea Levy
291d203f80
Merge branch 'clang-stdenv' of https://github.com/Ralith/nixpkgs into staging
2015-06-28 15:54:06 -04:00
Benjamin Saunders
172ed10426
Fix libcxxStdenv on Linux
...
This corrects linkage failures arising from missing -lc++abi and
resolves "unused argument" warnings arising due to -stdlib=libc++
serving no purpose when search paths are being supplied explicitly.
2015-06-28 21:33:12 +02:00
Vladimír Čunát
61596bf405
Merge #8363 : pure-darwin stdenv
2015-06-18 22:38:08 +02:00
Jude Taylor
fa9c81f694
pure darwin stdenv
2015-06-18 12:37:41 -07:00
William A. Kennington III
954801a9a8
Merge branch 'master.upstream' into staging.upstream
2015-06-12 13:47:46 -07:00
Matthew Maurer
6a76633bb6
llvm-3.4: enable RTTI ( close #8289 )
2015-06-11 22:09:46 +02:00
Eelco Dolstra
553abf71ba
Merge remote-tracking branch 'origin/staging' into gcc-4.9
...
Conflicts:
pkgs/build-support/cc-wrapper/default.nix
pkgs/development/libraries/wayland/default.nix
pkgs/development/tools/build-managers/cmake/default.nix
pkgs/top-level/all-packages.nix
2015-06-01 20:08:43 +02:00
Vladimír Čunát
6732b3b8ad
clang-3.4: fix build by adding zlib
...
I didn't care enough to search for cause of the regression.
2015-05-30 15:42:15 +02:00
William A. Kennington III
386575c0c2
llvm: 3.6.0 -> 3.6.1
2015-05-26 01:36:35 -07:00
Eelco Dolstra
279aca0f4b
llvm: Don't depend on valgrind/gdb
...
See a4619673b5
.
2015-05-13 18:17:26 +02:00
Eric Seidel
662a6b1ca6
remove all references to stdenv.cc.cc.is{GNU,Clang}
...
use the new `stdenv.cc.is{GNU,Clang}` instead, which will always be
defined.
2015-05-11 14:44:50 -07:00
Eric Seidel
6ec373d776
Merge branch master into staging
2015-04-06 18:58:08 -07:00
Peter Simons
fbfec3fc35
llvmPackages_34.dragonegg is broken because the required "ABIHack.inc" patch has disappeared upstream
2015-04-01 14:31:48 +02:00
William A. Kennington III
5cc82f8175
llvm: Enable RTTI for mesa
2015-03-28 13:50:22 -07:00
Eric Seidel
69d02b71a0
clang: add isClang passthru attribute to mirror isGNU
2015-03-24 20:37:01 -07:00
Shea Levy
6e3c9d5ce4
Fix fallout of recent cc-wrapper changes
...
Fixes tarball except for 56e21d05e8
2015-03-24 22:13:43 -04:00
Peter Simons
6694ef42a9
Merge branch 'master' into staging.
...
Conflicts:
pkgs/development/libraries/gtk+/2.x.nix
pkgs/tools/security/gnupg/21.nix
pkgs/top-level/all-packages.nix
2015-03-10 12:09:43 +01:00
Eduard Bachmakov
4731485ca2
llvm-3.5: enable RTTI to support mesa
...
Extracted from #6367 .
2015-03-09 15:55:23 +01:00
Shea Levy
e57e44f867
llvm-3.6 packages: Build everything (except clang and llvm) with clang
2015-03-07 13:08:34 +00:00
Shea Levy
b37fd11351
llvm-3.6 packages: Rearrange directory structure
2015-03-07 12:51:06 +00:00