Andrew Childs
d91d2bdf77
compiler-rt: fix build on armv7l
2020-05-10 03:50:38 +09:00
Frederik Rietdijk
9875bbae75
Merge master into staging-next
2020-05-05 19:51:09 +02:00
Atemu
896e2f4ba7
llvm_10: disable libpfm on aarch32
...
This is a speculative fix since the llvm_10 build runs OOM currently but it
should also be affected.
See parent commit for more info.
2020-05-03 08:11:45 +02:00
Atemu
00f35a4397
llvm_7,8,9: disable libpfm on aarch32
...
The armv7l builder has has the same issue some of the aarch64 ones have (#56245 )
See:
https://hydra.nixos.org/eval/1583749?filter=llvm_&compare=1583176&full=#tabs-still-fail
https://nix-cache.s3.amazonaws.com/log/3ppqyssyqj5d6sh257zfb5rb6km4m6sa-llvm-7.1.0.drv
https://nix-cache.s3.amazonaws.com/log/rmacd5xwkw3lyb6zknc3sgdcb3cvk6k1-llvm-8.0.1.drv
https://nix-cache.s3.amazonaws.com/log/6s8pasqwkrzzv5lgw1l22zy7mrpzx2p3-llvm-9.0.1.drv
2020-05-03 08:11:10 +02:00
Benno Fünfstück
ed2ac0dcfa
llvm_10: mark as big-parallel
...
LLVM builds frequently time out on hydra at least on AArch64. Marking
big-parallel gives them more resources to finish quicker.
2020-05-01 08:48:41 +02:00
Benno Fünfstück
7c27e8749d
llvm_9: mark as big-parallel
...
LLVM builds frequently time out on hydra at least on AArch64. Marking
big-parallel gives them more resources to finish quicker.
2020-05-01 08:48:41 +02:00
Benno Fünfstück
4b3c3e10a6
llvm_8: mark as big-parallel
...
LLVM builds frequently time out on hydra at least on AArch64. Marking
big-parallel gives them more resources to finish quicker.
2020-05-01 08:48:41 +02:00
Benno Fünfstück
8c880d9434
llvm_7: mark as big-parallel
...
LLVM builds frequently time out on hydra at least on AArch64. Marking
big-parallel gives them more resources to finish quicker.
2020-05-01 08:48:41 +02:00
Benno Fünfstück
fc6a4600f8
llvm_6: mark as big-parallel
...
LLVM builds frequently time out on hydra at least on AArch64. Marking
big-parallel gives them more resources to finish quicker.
2020-05-01 08:48:41 +02:00
Matthew Bauer
ff642c5694
llvm/compiler-rt.nix: add i{4,5,6}86 to X86 architecture
...
Fixes #85622
2020-04-24 10:22:21 -05:00
Andreas Rammhold
d17650b654
llvm_10: link to the llvm compiler-rt share directory from the wrapper
...
This is required for features such as `-fsanitze=cfi` that (by default)
load the file `…/resource-root/share/cfi_blacklist.txt`.
2020-04-24 11:22:47 +02:00
Jan Tojnar
3d8e436917
Merge branch 'master' into staging-next
2020-04-16 10:09:43 +02:00
Travis Whitaker
74f3b25896
LLVM: Always pass host/target info to compiler-rt/libstdcxxClang
2020-04-13 18:49:27 -04:00
John Ericson
888c1685ad
compiler-rt-10: Sync flags with previous versions
...
In 0c73297c07
I made some changes up to 9
for 20.03 and master, now I do the same for 10 which is just on master.
2020-04-13 13:22:31 -04:00
Jan Tojnar
a04625379a
Merge branch 'master' into staging-next
2020-04-13 18:50:35 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs
2020-04-10 17:54:53 +01:00
Gabor Greif
e336bdf80e
llvmPackages: change homepages to https:// scheme
...
also: https://www.cmake.org/Wiki/CMake_RPATH_handling has moved
2020-04-05 12:37:24 +02:00
Holger Wünsche
4665b2a9a2
llvmPackages_10: rc5 -> release
...
updated hashes and url
updated comment regarding version/release_version to make it clearer
2020-03-25 12:10:05 +01:00
Matthew Bauer
c08d6d55dc
Merge pull request #82781 from DieGoldeneEnte/llvm10-rc4
...
llvmPackages_10: rc3 -> rc4 -> rc5, polly enabled by default
2020-03-22 02:00:41 -04:00
Holger Wünsche
cdee144dfc
llvmPackges_10: rc4 -> rc5
...
updated versino and hashes for new rc
2020-03-19 17:43:39 +01:00
John Ericson
19a0b38cbe
Merge pull request #82882 from obsidiansystems/armv6-embedded
...
Misc fixes for armv6 bare metal cross
2020-03-19 10:38:22 -04:00
Holger Wünsche
e9aa8770ea
llvmPackages_10: removed extra polly-build
...
There is no good reason to have separate builds for polly and no-polly
versions. wwwwwThe reason for the two versions was (as far as I can
tell) to defer rebuilds (see ed60483257
).
Polly is now enabled by default.
2020-03-19 10:47:20 +01:00
Holger Wünsche
0ec3f4e26b
llvmPackages_10: rc3 -> rc4
...
Only needed to update hashes and the version.
Updated comment for extension handling patch
2020-03-19 10:45:57 +01:00
John Ericson
0c73297c07
compiler-rt-{7,8,9}: Fix cmakeFlags in a few ways
...
- Cross to bare metal with GCC works
- Flags are deduplicated
- Darwin bootstrapping for 8 and 0 closer.
- Flags are same across versions.
2020-03-18 12:10:09 -04:00
John Ericson
bc054004ac
cc-wrapper, clang: libstdcxxHook
should a propagated build input
...
Lumping it in with the target platform libraries was incorrect, and
caused eval failures when gcc couldn't be built for the target platform.
2020-03-18 11:28:52 -04:00
John Ericson
99c18b3441
clang-*: Sync wrapping logic
...
We only want to refer to GCC under these conditions.
2020-03-18 11:28:05 -04:00
Gabor Greif
3a84353edb
llvmPackages_10: rc2 -> rc3
...
http://lists.llvm.org/pipermail/llvm-dev/2020-March/139729.html
Additionally cherry-picked 3 commits from `llvm-project/master`:
- llvm/llvm-project@d21664c
- llvm/llvm-project@3a0f6e6
- llvm/llvm-project@87dac7d
such that clang can automatically pick up the polly plugin from the
`llvm-polly` build.
2020-03-07 20:11:59 +01:00
Vladimír Čunát
fb6ceb45ba
Merge #80124 : llvmPackages_5.compiler-rt: fix for glibc bump
2020-03-02 15:41:52 +01:00
Gabor Greif
f111c6f9ce
llvmPackages_10: copy llvmPackages_9
...
* starting with rc2
* make `lldb` compilable again on Darwin
* separate out manpage creation for `lldb` into a new derivation
* minor tweaks to the patching of sources,
some of which are backportable to earlier versions
2020-02-25 13:24:27 +01:00
Will Dietz
c25e18089a
llvmPackages_5.compiler-rt: fix for glibc bump using upstream fix
2020-02-14 10:59:31 -06:00
Frederik Rietdijk
c195ef6aab
Merge pull request #78928 from NixOS/staging-next
...
Staging next
2020-02-02 15:35:18 +01:00
Luka Blaskovic
0fc6280715
llvm_4: remove
2020-01-30 18:35:31 -05:00
Luka Blaskovic
0eafee8328
llvm_39: remove
2020-01-30 18:35:30 -05:00
Luka Blaskovic
3a12a7cde8
llvm_35: remove
2020-01-30 18:35:30 -05:00
Matthew Bauer
db29857eb3
Re-Revert "clang_7,clang_8,clang_9: fix compilation of HIP-code"
...
This reverts commit f14a4d60b7
, and thus
applying 558af6fbc7
.
2020-01-28 11:35:19 -05:00
Anders Kaseorg
3cd8ce3bce
treewide: Fix unsafe concatenation of $LD_LIBRARY_PATH
...
Naive concatenation of $LD_LIBRARY_PATH can result in an empty
colon-delimited segment; this tells glibc to load libraries from the
current directory, which is definitely wrong, and may be a security
vulnerability if the current directory is untrusted. (See #67234 , for
example.) Fix this throughout the tree.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-01-15 09:47:03 +01:00
Frederik Rietdijk
bc18cc72dd
Merge pull request #77610 from LnL7/darwin-stdenv-python3
...
darwin-stdenv: bootstrap with python3
2020-01-15 09:24:57 +01:00
Daiderd Jordan
d0a90de910
llvmPackages: python2 -> python3
2020-01-13 11:13:56 +01:00
Matthew Bauer
cc669a18fb
Merge pull request #76669 from xbreak/clang-cmake-fix
...
clang_9: Correct ClangTargets-release.cmake
2020-01-06 15:42:34 -05:00
Frederik Rietdijk
828f93a326
Merge master into staging-next
2020-01-05 16:00:21 +01:00
John Ericson
ebec1d12a3
Merge pull request #76887 from corngood/llvm-cross-fix
...
llvm: use correct version of tablegen when cross compiling _8 and _9
2020-01-03 13:25:39 -05:00
David McFarland
6c86a2b5bb
llvm: use correct version of tablegen when cross compiling _8 and _9
2020-01-03 10:38:43 -04:00
Will Dietz
dc0c28a762
clang_9: fix unpackPhase
2020-01-01 12:42:59 -06:00
Will Dietz
21b0162383
llvmPackages_9: 9.0.0 -> 9.0.1
...
Fetch from github release page,
as that's where https://releases.llvm.org/9.0.1 redirects.
2020-01-01 12:42:58 -06:00
Maximilian Bosch
129fbd7550
clang_4: fix build w/gcc9
...
As noted in the incorporated patch, name collisions between lambda
arguments and lambda captures cause compilation failures in GCC9[1].
The issue has been fixed in a later version of CLang, unfortunately the
relevant patches weren't backported to the versions 3.9 and 4.0[2].
[1] http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#2211
[2] bb177a9307 (diff-d63bede6ed85300ad2aaf4eaee571456L6278)
2019-12-30 02:50:50 +01:00
Maximilian Bosch
2e5fd9f03e
clang_39: fix build w/gcc9
2019-12-30 02:50:50 +01:00
xbreak
6748dd4ca0
clang_9: Correct ClangTargets-release.cmake
...
Since commit 4271020
libclang-cpp is also moved to $lib. This adds the missing
substitution in ClangTargets-release.cmake.
2019-12-29 23:26:32 +00:00
Franz Pletz
77b6c3cd06
Merge remote-tracking branch 'origin/master' into gcc-9
2019-12-26 14:17:36 +01:00
Joachim F
90f08689c3
Merge pull request #73766 from kmcopper/staging-compiler-rt
...
staging: compiler-rt scudo compatibility
2019-11-26 15:54:12 +00:00
John Ericson
6d3b7458cc
Merge pull request #74065 from Ericson2314/cc-versions
...
compilers, binutils: Add version and pname
2019-11-24 18:35:13 -05:00
Craig Hall
c40bf6ea3f
llvm-manpages: Use pname
2019-11-24 18:32:26 +00:00
Craig Hall
4bcae6f8a7
llvm: Use pname
2019-11-24 18:32:26 +00:00
Craig Hall
a33dbd38cb
clang-manpages: Use pname
2019-11-24 18:32:26 +00:00
Craig Hall
f1255e45db
clang: Use pname
2019-11-24 18:32:26 +00:00
Craig Hall
2c59c1deb5
llvm: Add version attribute
2019-11-24 18:32:26 +00:00
Craig Hall
5a9c95d4d2
clang: Add version attribute
2019-11-24 18:32:26 +00:00
Kyle Copperfield
19adae30c1
llvm/compiler-rt: default to compatible scudo options
2019-11-19 16:10:39 +00:00
Frederik Rietdijk
c6e31d0767
Merge master into staging-next
2019-11-14 13:31:39 +01:00
Matthew Bauer
1c3deb9642
Merge pull request #73084 from lopsided98/llvm-7-armv6l
...
llvm_7: disable failing test on armv6l
2019-11-13 17:20:13 -05:00
Ben Wolsieffer
50c315fc4d
llvm_9: disable failing test on armv6l
2019-11-09 11:01:12 -05:00
Ben Wolsieffer
e50b8fcfbd
llvm_7: disable failing test on armv6l
2019-11-08 18:44:16 -05:00
Ben Wolsieffer
d67cd40cd8
llvm_9: disable failing tests on 32-bit ARM
2019-11-08 17:54:08 -05:00
Matthew Bauer
c10098322a
Merge pull request #70244 from nmattia/nm-fix-libcxx
...
libcxx: fix build on linux musl
2019-11-07 17:13:09 -05:00
Franz Pletz
4cbe75c067
llvm_4: fix build with gcc9
2019-11-05 22:11:26 +01:00
Franz Pletz
efeae34a34
llvm_5: fix build with gcc9
2019-11-05 19:08:18 +01:00
Matthew Bauer
977a311c1f
Merge pull request #70364 from matthewbauer/fix-clang-9-macos
...
llvm9/clang.nix: fix clang on macos
2019-10-04 11:01:51 -04:00
Nicolas Mattia
fadd37ba46
libcxx: don't produce shared libs on musl
2019-10-04 10:51:11 +02:00
Nicolas Mattia
e494de20b3
libcxxapi: don't produce shared libs on musl
2019-10-04 10:51:10 +02:00
Matthew Bauer
42710203b0
llvm9/clang.nix: fix clang on macos
...
Fixes #70243
2019-10-03 23:40:05 -04:00
Nicolas Mattia
76b54c75b3
libcxxabi: don't depend on libunwind
2019-10-03 13:39:19 +02:00
Matthew Bauer
1f95c9c933
llvm9/compiler-rt: fix on i686
2019-09-30 21:27:22 -04:00
Matthew Bauer
a7dc5c685e
llvm/compiler: preserve hashes
...
Don’t require a mass rebuild for this fix.
2019-09-30 21:24:27 -04:00
Matthew Bauer
d303a2f431
llvm/compiler-rt: fix on i686
...
Only turn on cross related flags when useLLVM = true.
Fixes #66693
2019-09-30 21:24:27 -04:00
arcnmx
607a4a6e3a
llvmPackages_9.compiler-rt: remove crt patch
...
This doesn't apply because it was merged upstream.
2019-09-29 18:34:31 -07:00
Vladimír Čunát
de99e7ce94
Merge #69115 : llvmPackages_9: init
2019-09-29 11:03:06 +02:00
Joachim Fasting
bad07dfac5
tree-wide: replace uses of splitString "." with lib.versions
...
Quoting from the splitString docstring:
NOTE: this function is not performant and should never be used.
This replaces trivial uses of splitString for splitting version
strings with the (potentially builtin) splitVersion.
2019-09-26 17:42:49 +02:00
Will Dietz
233ba4052a
llvm_9: fix test failing on non-x86, such as our aarch64
2019-09-20 22:08:05 -05:00
Will Dietz
9943cb0fa1
lldb_9: fix build, nixpkgs-fmt
2019-09-19 18:40:47 -05:00
Will Dietz
73b11eb566
llvmPackages_9: fetch from releases.llvm.org ("for now")
2019-09-19 18:39:03 -05:00
Will Dietz
60f4d2f660
clang_9: drop included patches
2019-09-19 15:34:42 -05:00
Will Dietz
74b529b43e
llvm_9: fix utf8 test by using builtin locale C.UTF-8
2019-09-19 14:39:37 -05:00
Will Dietz
f52b3afc8d
clang_9: wiggle the purity.patch so it applies
2019-09-19 14:07:15 -05:00
Will Dietz
99eeff0f69
llvmPackages_9: hashes, pname-ification
2019-09-19 13:24:37 -05:00
Will Dietz
9552213d07
llvmPackages_9: copy llvmPackages_8
2019-09-19 13:19:41 -05:00
Frederik Rietdijk
5f4734b1dd
Merge remote-tracking branch 'upstream/gcc-8' into staging-next
...
Earlier the gcc8 branch was merged instead of the gcc-8 branch (note the dash)...
2019-09-08 20:44:26 +02:00
Franz Pletz
de85797565
Merge remote-tracking branch 'origin/master' into gcc-8
2019-09-03 22:15:07 +02:00
Franz Pletz
be9901afe2
llvm_38: drop since it doesn't build with gcc8
2019-09-03 22:04:44 +02:00
Franz Pletz
e3434a3c36
llvm_4: fix build with gcc8
2019-09-03 21:24:40 +02:00
volth
08f68313a4
treewide: remove redundant rec
2019-08-28 11:07:32 +00:00
Robin Gloster
616b8343c4
Merge remote-tracking branch 'upstream/master' into gcc-8
2019-08-25 18:55:46 +02:00
volth
c814d72b51
treewide: name -> pname
2019-08-17 10:54:38 +00:00
Frederik Rietdijk
fe9a3e3e63
Merge staging-next into staging
2019-08-17 09:39:23 +02:00
volth
46420bbaa3
treewide: name -> pname (easy cases) ( #66585 )
...
treewide replacement of
stdenv.mkDerivation rec {
name = "*-${version}";
version = "*";
to pname
2019-08-15 13:41:18 +01:00
Matthew Bauer
579168b537
Merge pull request #65483 from arcnmx/pr-llvm-baremetal
...
llvm8 bare metal fixes
2019-08-14 10:16:57 -04:00
Matthew Bauer
554a789403
Merge pull request #65537 from Holo-Host/201907/extend-static
...
pkgsStatic: override libunwind
2019-08-13 12:47:03 -04:00
Orivej Desh
c9091c1d9d
llvmPackages_8: 8.0.0 -> 8.0.1
...
Starting with 8.0.1 and 7.1.0 LLVM has moved release hosting to GitHub.
2019-08-05 23:32:16 +00:00
Yegor Timoshenko
cdee3b7966
llvmPackages_8.libraries.libunwind: add enableShared option
2019-07-29 03:08:02 +03:00
arcnmx
24070da9c4
llvmPackages_8.compiler-rt: bare-metal support
...
Bare-metal targets require a few additional options to be set.
2019-07-27 15:11:31 -07:00
arcnmx
a5e2b76e51
llvmPackages_8.clang: bare-metal driver linker fix
...
Clang passes an incorrect -l linker flag for compiler-rt.
See https://reviews.llvm.org/D51899
2019-07-27 15:04:02 -07:00
Dmitry Kalinkin
325f37f935
llvm_*,clang_*: allow src overrides
2019-07-17 10:30:05 +02:00
Daiderd Jordan
42705e70a7
lldb: fix darwin sandboxed build
2019-07-03 22:20:25 +02:00
Graham Christensen
7d62e4b024
llvm_7,8: disable libpfm on aarch64
...
See https://github.com/nixos/nixpkgs/issues/56245
Testing: 0 ..
FAIL: LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest (2933 of 27000)
******************** TEST 'LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest' FAILED ********************
Note: Google Test filter = PerfHelperTest.FunctionalTest
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from PerfHelperTest
[ RUN ] PerfHelperTest.FunctionalTest
/build/llvm/unittests/tools/llvm-exegesis/PerfHelperTest.cpp:37: Failure
Expected: CallbackEventName
Which is: ""
To be equal to: "CYCLES:u"
/build/llvm/unittests/tools/llvm-exegesis/PerfHelperTest.cpp:38: Failure
Value of: CallbackEventNameFullyQualifed
Expected: isn't empty
Actual: ""
[ FAILED ] PerfHelperTest.FunctionalTest (3 ms)
[----------] 1 test from PerfHelperTest (3 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (3 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] PerfHelperTest.FunctionalTest
1 FAILED TEST
invalid event attribute - cannot create event CYCLES:u
********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
1 warning(s) in tests.
Testing Time: 108.19s
********************
Failing Tests (1):
LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest
Expected Passes : 25609
Expected Failures : 141
Unsupported Tests : 1249
Unexpected Failures: 1
make[3]: *** [CMakeFiles/check-all.dir/build.make:58: CMakeFiles/check-all] Error 1
make[3]: Leaving directory '/build/llvm/build'
make[2]: *** [CMakeFiles/Makefile2:365: CMakeFiles/check-all.dir/all] Error 2
make[2]: Leaving directory '/build/llvm/build'
make[1]: *** [CMakeFiles/Makefile2:372: CMakeFiles/check-all.dir/rule] Error 2
make[1]: Leaving directory '/build/llvm/build'
make: *** [Makefile:251: check-all] Error 2
builder for '/nix/store/4kq72x6ahrigryr6yjjj7c7ayqy8z2sl-llvm-7.0.1.drv' failed with exit code 2Testing: 0 ..
FAIL: LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest (2933 of 27000)
******************** TEST 'LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest' FAILED ********************
Note: Google Test filter = PerfHelperTest.FunctionalTest
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from PerfHelperTest
[ RUN ] PerfHelperTest.FunctionalTest
/build/llvm/unittests/tools/llvm-exegesis/PerfHelperTest.cpp:37: Failure
Expected: CallbackEventName
Which is: ""
To be equal to: "CYCLES:u"
/build/llvm/unittests/tools/llvm-exegesis/PerfHelperTest.cpp:38: Failure
Value of: CallbackEventNameFullyQualifed
Expected: isn't empty
Actual: ""
[ FAILED ] PerfHelperTest.FunctionalTest (3 ms)
[----------] 1 test from PerfHelperTest (3 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (3 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] PerfHelperTest.FunctionalTest
1 FAILED TEST
invalid event attribute - cannot create event CYCLES:u
********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
1 warning(s) in tests.
Testing Time: 108.19s
********************
Failing Tests (1):
LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest
Expected Passes : 25609
Expected Failures : 141
Unsupported Tests : 1249
Unexpected Failures: 1
make[3]: *** [CMakeFiles/check-all.dir/build.make:58: CMakeFiles/check-all] Error 1
make[3]: Leaving directory '/build/llvm/build'
make[2]: *** [CMakeFiles/Makefile2:365: CMakeFiles/check-all.dir/all] Error 2
make[2]: Leaving directory '/build/llvm/build'
make[1]: *** [CMakeFiles/Makefile2:372: CMakeFiles/check-all.dir/rule] Error 2
make[1]: Leaving directory '/build/llvm/build'
make: *** [Makefile:251: check-all] Error 2
builder for '/nix/store/4kq72x6ahrigryr6yjjj7c7ayqy8z2sl-llvm-7.0.1.drv' failed with exit code 2
2019-06-29 14:54:52 -04:00
Robin Gloster
5761727e21
llvm: add patch to fix build with gcc8
2019-06-17 07:05:57 +02:00
volth
f3282c8d1e
treewide: remove unused variables ( #63177 )
...
* treewide: remove unused variables
* making ofborg happy
2019-06-16 19:59:05 +00:00
Matthew Bauer
4e74a13fcb
Merge pull request #62894 from womfoo/fix/llvm_7-skip-x86-tests-on-armv7l
...
llvm_7: skip failing X86 test cases on armv7l
2019-06-11 17:45:44 -04:00
Kranium Gikos Mendoza
744ab4254c
llvm_7: skip failing X86 test cases on armv7l
...
fixes #57472
2019-06-09 23:36:06 +10:00
Austin Seipp
de1110d535
pkgs: remove llvm_37
...
These expressions are now unused, and can be removed to lighten the load
on build machines.
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-14 14:23:22 -05:00
Matthew Bauer
78a6156c55
Merge pull request #61111 from matthewbauer/fix-lldb-7
...
lldb_7: fix broken build on darwin
2019-05-12 15:22:20 -04:00
Gabor Greif
bd8da4e0ed
clang: typo in comment
2019-05-10 11:29:09 +02:00
Matthew Bauer
555bbe0068
lldb_7: fix broken build on darwin
2019-05-07 19:41:39 -04:00
Daiderd Jordan
626a95a9b4
llvm: create all versioned symlinks for libLLVM on darwin
...
Apply eb31e48147
to older versions where applicable.
2019-05-04 17:32:43 +02:00
Daiderd Jordan
807ba5f123
llvm: fix llvm-config on darwin
...
With 7.1 llvm-config looks for libLLVM-7.1.dylib, but the shortVersion
was still 7 so only 7 and 7.1.0 where aliased before.
$ llvm-config --link-shared
llvm-config: error: libLLVM-7.1.dylib is missing
2019-05-04 17:32:43 +02:00
Matthew Bauer
87944c3125
Merge pull request #56744 from matthewbauer/macos-10-12
...
Update macOS to 10.12
2019-04-26 22:20:03 -04:00
Matthew Bauer
da38a49a24
treewide: mark bad packages
...
Some old stuff is known not to work.
2019-04-26 21:55:11 -04:00
Matthew Bauer
c08fe0f8b1
llvm8: remove compiler-rt gettime patch
...
This was removed in llvm 7 but not for llvm 8.
2019-04-26 21:54:58 -04:00
Matthew Bauer
0fe315c9b6
treewide: remove old patches for macOS
...
These shouldn’t be needed now that we are on macOS 10.12.
2019-04-26 21:54:32 -04:00
Will Dietz
6c140d1a9a
llvm7: drop patch included (and is the primary motivation for 7.1.0)
2019-04-25 22:50:18 -05:00
Will Dietz
ac1ffe5cfd
llvmPackages_7: 7.0.1 -> 7.1.0
2019-04-25 22:50:18 -05:00
Matthew Bauer
a4cfd50004
libcxxabi: apply libcxxabi-wasm patch
2019-04-23 21:48:58 -04:00
John Ericson
9044f57d18
compiler-rt: Don't try to build a test executable
...
Got this trick from stack overflow to avoid needing compiler-rt to link
the test exe before building compiler-rt. a static lib isn't linked at
all, and so breaks the cycle.
2019-04-23 21:48:58 -04:00
John Ericson
1a7a96a093
stdenv, compiler-rt: Compress WASI conditionals
2019-04-23 21:48:58 -04:00
Matthew Bauer
556466d52f
wasm: set -fno-exceptions
...
We need this to support C++ code.
2019-04-23 21:48:58 -04:00
Matthew Bauer
d591a109be
wasm: don’t assume musl
2019-04-23 21:48:57 -04:00
Matthew Bauer
9abff4af4f
wasm: init cross target
...
Adds pkgsCross.wasm32 and pkgsCross.wasm64. Use it to build Nixpkgs
with a WebAssembly toolchain.
stdenv/cross: use static overlay on isWasm
isWasm doesn’t make sense dynamically linked.
2019-04-23 21:48:57 -04:00
Will Dietz
640fd92709
llvmPackages_7.compiler-rt: fix typo
2019-04-23 00:35:35 -05:00
John Ericson
6794b01658
clang 8, lldClangStdenv: Get LLVM's unwind working properly
...
Backport the `--unwindlib` flag, so it don't try to use libgcc on Linux
for hysterical reasons. The alternative of passing `-lunwind` always
would mess up C.
2019-04-12 13:19:48 -04:00
Matthew Bauer
d453273fbf
llvm8: support c++ in cross case
...
this adds libc++ to the LLVM cross, giving us access to the full
Nixpkgs set. This requires 4 stages of wrapped compilers:
- Clang with no libraries
- Clang with just compiler-rt
- Clang with Libc, and compiler-rt
- Clang with Libc++, Libc, and compiler-rt
2019-04-11 21:28:51 -04:00
Matthew Bauer
d95c4d799c
Merge pull request #59294 from matthewbauer/clang8-fix-darwin
...
clang8: apply patch to disable xpc
2019-04-11 13:39:59 -04:00
Matthew Bauer
097122d2fd
clang8: apply patch to disable xpc
2019-04-10 22:42:01 -04:00
Vladimír Čunát
526c4292ae
Merge branch 'staging-next'
...
This iteration was long, about five weeks (2fcb11a2
), I think.
Darwin: it's missing a few thousand binaries and there's a make-netbsd
regression, but I suppose these aren't merge blockers.
2019-04-06 13:20:53 +02:00
Jan Tojnar
cb1a20499a
Merge branch 'master' into staging
2019-04-05 11:37:15 +02:00
Tadeo Kondrak
341f65a1e4
lldb: install vscode plugin; vscode-extensions: add it
2019-04-04 02:30:26 -06:00
Frederik Rietdijk
b40d752872
Merge master into staging-next
2019-03-23 09:18:41 +01:00
Wael M. Nasreddine
5af0780492
Merge remote-tracking branch 'origin/master' into staging
...
* origin/master: (693 commits)
buildGoModule: use go_1_12 instead of go_1_11 (#58103 )
gitAndTools.lab: 0.15.2 -> 0.15.3 (#58091 )
signal-desktop: 1.22.0 -> 1.23.0
added missing semicolon to documentation
terminus_font_ttf: 4.46.0 -> 4.47.0
buildGoModule: remove SSL env vars in favor of cacert in buildInputs (#58071 )
dav1d: init at 0.2.1
dropbox-cli: 2018.11.28 -> 2019.02.14
atlassian-confluence: 6.14.1 -> 6.14.2
maintainers: update email for dywedir
python.pkgs.hglib: use patch to specify hg path (#57926 )
chkrootkit: 0.52 -> 0.53
radare2-cutter: 1.7.2 -> 1.8.0
autorandr: 1.7 -> 1.8
pythonPackages.pyhepmc: fix build
llvm-polly/clang-polly: use latest llvm
apulse: 0.1.11.1 -> 0.1.12, cleanup
factorio: experimental 0.17.14 → 0.17.16 (#58000 )
sequeler: 0.6.7 -> 0.6.8
nasc: 0.5.1 -> 0.5.2
...
2019-03-21 21:01:25 -07:00
Will Dietz
baa62d9ac6
Merge pull request #57980 from dtzWill/update/compilerrt-crtbegin-patch
...
llvmPackages_{7,8}.compiler-rt: update crtbegin-and-end.patch
2019-03-21 17:47:51 -05:00
Will Dietz
bb7e9e46a0
Merge pull request #57970 from dtzWill/update/llvm8
...
llvmPackages_8: rc5 -> 8.0.0 release!
2019-03-20 23:56:46 -05:00
Will Dietz
8d378eb822
llvmPackages_8: disable sanitizers/etc w/musl
...
Patch needs porting and was uncertain anyway.
2019-03-20 13:28:46 -05:00
Will Dietz
8fa5d4ab1a
llvm8: remove failing test to fix w/musl
2019-03-20 13:28:36 -05:00
Will Dietz
1cca46a498
llvmPackages_{7,8}.compiler-rt: update crtbegin-and-end.patch
...
Minor changes after review, see linked page for discussion.
2019-03-20 13:26:49 -05:00
Will Dietz
5c4aed5c8a
llvmPackages_8: rc5 -> 8.0.0 release
2019-03-20 09:56:20 -05: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
Will Dietz
91b1806476
llvmPackages_8: rc3 -> rc5
2019-03-12 16:39:44 -05:00
Frederik Rietdijk
5d7ab31949
Merge master into staging-next
2019-03-05 08:32:52 +01:00
Will Dietz
145f213806
llvmPackages_8: rc2 -> rc3
2019-03-03 21:54:26 -06:00
Matthew Bauer
7874ca5b61
Merge pull request #56645 from matthewbauer/llvm-8
...
llvm8: init
2019-03-03 21:00:36 -05:00
Matthew Bauer
52cb072562
llvm8: init
2019-03-01 23:42:10 -05:00
Frederik Rietdijk
205e0fc5bd
Merge staging-next into staging
2019-03-01 09:22:21 +01:00
Frederik Rietdijk
2fcb11a244
Merge staging-next into master
2019-03-01 09:06:20 +01:00
Pierre Bourdon
7541e4f8ac
llvm/7/compiler-rt: define CMAKE_*_COMPILER_TARGET unconditionally
...
When building with -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON the compiler-rt
CMake configuration attempts to use CMAKE_*_COMPILER_TARGET variables,
which are usually only defined in cross-compilation mode.
2019-02-28 04:29:05 +01:00
Matthew Bauer
5c46f77249
Merge pull request #56197 from matthewbauer/cross-fixes3
...
Android and related cross fixes
2019-02-26 20:30:53 -05:00
Matthew Bauer
b86e62d30d
llvm: support cross compilation with useLLVM flag
...
You can build (partially) with LLVM toolchain using the useLLVM flag.
This works like so:
nix-build -A hello --arg crossSystem '{ system =
"aarch64-unknown-linux-musl"; useLLVM = true }'
also don’t separate debug info in lldClang
It doesn’t work currently with that setup hook. Missing build-id?
2019-02-26 19:45:35 -05:00
Matthew Bauer
ead13a3aca
llvm: don’t use targetPlatform
...
LLVM should be target independent because it will work with all
machine types. This is different from GCC where it needs to know what
target to build ahead of time.
2019-02-26 19:45:35 -05:00
Will Dietz
ed60483257
llvm-polly,clang-polly: Add llvm/clang variants w/polly support ( #55065 )
...
* llvm: build w/polly in-tree, optionally
Don't enable by default yet, defer rebuilds.
* top-level: llvm-polly, clang-polly
* bit hacky re:overrides
* need to explicitly set cmake flags for clang to link in polly
2019-02-25 15:20:52 -06:00
Matthew Bauer
e36cd48b6e
llvm: don’t use targetPlatform
...
LLVM should be target independent because it will work with all
machine types. This is different from GCC where it needs to know what
target to build ahead of time.
2019-02-24 17:00:48 -05:00
Matthew Bauer
be6d030b98
llvm6: remove enableTargets
...
These are no longer used. We build all targets now.
2019-02-24 17:00:48 -05: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
Frederik Rietdijk
6fe10d2779
Merge master into staging-next
2019-02-16 09:29:54 +01:00
Frederik Rietdijk
a25d48cd4f
Merge master into staging
2019-02-14 11:35:50 +01:00
Tobias Mayer
2da868d81e
Add shim for clock_gettime until macos >= 10.12
2019-02-13 13:08:57 +01:00
Frederik Rietdijk
7257dedd7c
Merge master into staging-next
2019-02-13 12:33:29 +01:00
Vladimír Čunát
c40f211499
Merge branch 'staging-next'
...
It's not completely without regressions, but ATM it seems to bring more
upsides than downsides and the iteration is too long already.
2019-02-10 14:20:49 +01:00
Matthew Bauer
b60b8226d6
llvm7: don’t link to libatomic on darwin
2019-02-09 13:40:28 -05:00
Luka Blaskovic
0ae0273803
llvm7: backport patches, fix building rust crates with lto
...
See: https://github.com/rust-lang/rust/issues/57762
(cherry picked from commit c340704bd3
)
2019-02-01 18:24:54 +01:00
Will Dietz
75df522844
Merge #54998 : llvm7: replace patch with official upstream commit
...
(cherry picked from commit 442a74bdf8
)
2019-02-01 18:18:05 +01:00
Will Dietz
636ae80940
llvm7: replace patch with official upstream commit
...
Hopefully this also addresses any problems enountered
with the patch used previously.
2019-01-31 10:24:37 -06:00
Jörg Thalheim
6f6900495d
Merge pull request #54323 from lblasc/rust132
...
rust: 1.31.0 -> 1.32.0
2019-01-28 16:14:57 +00:00
Matthew Bauer
bb3683d778
Merge pull request #54624 from matthewbauer/libcxx
...
cc-wrapper: add libcxx for libcxxClang
2019-01-27 13:55:18 -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
Luka Blaskovic
c340704bd3
llvm7: backport patches, fix building rust crates with lto
...
See: https://github.com/rust-lang/rust/issues/57762
2019-01-22 08:09:37 +00:00
Viktor Kleen
469ecc7098
llvm: support PowerPC
2019-01-19 18:04:05 -08:00
Will Dietz
946be0ed99
llvm7: patch to fix PR39427
...
See linked issue for discussion,
but key bits:
* rustc breaks without this
* fix changes ABI, may become 7.1.0
2019-01-16 16:54:59 -06:00
Orivej Desh
d6f401e132
llvm_6, llvm_7: build all default targets ( #53941 )
...
This makes LLVM tools (including dependent tools such as LLD) readily useful in
more situations, foresees such needed additions as BPF and NVPTX, and brings
llvm_6 and newer on par with the current default llvm_5.
2019-01-15 04:59:49 +00:00
Will Dietz
5e2ac7e5fd
llvm6: enable BPF target here as well
2019-01-13 21:30:24 -06:00
Will Dietz
3054cbd3f2
llvm: include BPF target too, otherwise can't build bcc
2019-01-13 20:59:09 -06:00
Franz Pletz
237deba4e7
Merge remote-tracking branch 'origin/master' into staging
2019-01-10 16:00:34 +01:00
Vladimír Čunát
287144e342
Merge branch 'master' into staging-next
2019-01-10 13:07:21 +01:00
Matthew Bauer
09ff7707ae
llvm3.{8,9}: use old CMAKE_INSTALL_NAME_DIR value
...
adcf4aa524
broke these two. The old way
seems to work and might still avoid the original lldb issues.
2019-01-06 22:11:38 -06:00
Daniel Goertzen
1c10efc912
add generic x86_32 support ( #52634 )
...
* add generic x86_32 support
- Add support for i386-i586.
- Add `isx86_32` predicate that can replace most uses of `isi686`.
- `isi686` is reinterpreted to mean "exactly i686 arch, and not say i585 or i386".
- This branch was used to build working i586 kernel running on i586 hardware.
* revert `isi[345]86`, remove dead code
- Remove changes to dead code in `doubles.nix` and `for-meta.nix`.
- Remove `isi[345]86` predicates since other cpu families don't have specific model predicates.
* remove i386-linux since linux not supported on that cpu
2019-01-06 12:57:36 -06:00
Will Dietz
cc97d49404
llvm7: 7.0.0 -> 7.0.1
2018-12-29 12:54:57 -06:00
Jan Tojnar
ff22d90308
mesa_noglu: fix build
...
LLVM’s `LLVM_TARGETS_TO_BUILD` build flag defauls to `all`, which contains
`AMDGPU` among others. [1] Changes in llvm [2] switched to explicitly listing
host and target platforms, excluding the AMDGPU target, which is required
for Mesa to build.
[1]: db50b6fe39/CMakeLists.txt (L286-L302)
[2]: https://github.com/NixOS/nixpkgs/pull/52031
2018-12-24 23:41:36 +01:00
Jan Tojnar
192f4171d8
llvm: allow passing arbitrary targets
...
Mesa requires AMDGPU target but previously, we only allowed a pre-defined set
of targets.
2018-12-24 15:38:55 +01: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
Jörg Thalheim
e84bd8db9f
llvm_7: fix cross-compilation
2018-12-14 09:40:52 +00:00
Jörg Thalheim
fd463810ae
llvm_6: fix cross-compilation
2018-12-14 09:40:48 +00:00
John Ericson
4b7a615899
llvm 7: Allow for specifying an arbitrary list of backends to build
2018-12-13 01:14:24 -05:00
Jörg Thalheim
2ca39fe86b
llvm_7: fix cross-compiling
2018-12-08 19:25:43 +00: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
c701d6cb21
Merge remote-tracking branch 'upstream/master' into staging
2018-09-25 14:20:27 -04: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
5b2de5126d
llvm7: update musl patch for sanitizers
2018-09-24 11:19:05 -05:00
Will Dietz
9fe245d7e0
llvm7: optionally use libpfm (exegesis), default off w/darwin
2018-09-23 13:30:18 -05:00
Will Dietz
b3645d74d1
llvm7: only use 1 number in version suffix, upstream changed
...
See llvm 2a6cf85828509e89e18739e5f4b9a958820d66d4
2018-09-23 13:30:18 -05:00
Will Dietz
e3030a2908
libc++7: prefer 'optional' as suggested by comment
2018-09-23 13:30:18 -05:00
Will Dietz
167e799d81
llvm*: http -> https, prefer releases.llvm.org
2018-09-23 13:30:18 -05:00
Will Dietz
0920652c5c
llvm7: update hashes, they did change after all.
...
Pretty sure they did last time too :).
2018-09-23 13:30:17 -05:00
Will Dietz
fca31e1a68
llvm7: use final release tarballs now that they're available
2018-09-23 13:30:17 -05:00
Will Dietz
621fd23cb5
compiler-rt: quickfix codesign patch by dropping hunks 'already applied'
...
Quite possibly this is not right.
2018-09-23 13:30:17 -05:00
Will Dietz
ba701ef329
comment
2018-09-23 13:30:17 -05:00
Will Dietz
38699890d6
llvm-manpages: fix build by removing references to $lib output
2018-09-23 13:30:17 -05:00
Will Dietz
b7692f5be5
llvm7: patch test shebang (otherwise test fails)
2018-09-23 13:30:16 -05:00
Will Dietz
bb110d80fc
llvm7: init at 7.0.0rc3
...
Copy of 6 + updated hashes
2018-09-23 13:30:16 -05:00
Jan Malakhovski
ed10043f75
llvmPackages_6.libcxx: cleanup with a mass rebuild
2018-09-23 17:30:32 +00: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
John Ericson
0828e2d8c3
treewide: Remove usage of remaining redundant platform compatability stuff
...
Want to get this out of here for 18.09, so it can be deprecated
thereafter.
2018-08-30 17:20:32 -04:00
Frederik Rietdijk
944586699e
llvmPackages_34: remove unused
2018-08-04 13:45:59 +02: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
f3fc04bfd2
llvm6: disable tests on cross compiler
...
This seems to be broken currently.
https://hydra.nixos.org/build/77597880/nixlog/1
/cc @ericson2314 @dtzWill
2018-07-31 21:46:07 -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
bf3a588f64
llvm_6: enable "dump()" methods even w/assertions off
2018-07-05 07:22:53 -05:00
Vladimír Čunát
f7781f5293
Merge branch 'master' into staging
2018-06-30 01:41:59 +02:00
Will Dietz
8cd268adf0
llvm_6: refresh sanitizers-non-gnu patch
2018-06-29 11:54:21 -05:00
Will Dietz
4a8104af49
llvm6: 6.0.0 -> 6.0.1
2018-06-29 11:54:21 -05:00
Will Dietz
27351f8b4b
Merge pull request #42454 from dtzWill/fix/llvm-triples-unconditional
...
llvm-{5,6}: unconditionally set triples
2018-06-27 10:04:40 -05:00
Will Dietz
8575fd554c
Merge pull request #42456 from dtzWill/fix/llvm4-triples-unconditional
...
llvm4: unconditionally set triples, not just on musl.
2018-06-27 10:02:58 -05:00
Will Dietz
632624691d
llvm-3.8: don't set triples a second time on musl
...
I should have "moved" the flags instead of "copying" them earlier :).
2018-06-25 09:55:36 -05:00
Will Dietz
c5e90a9292
llvm_{38,39}: unconditionally set triples, not just w/musl
...
Follow-on to same changes made to other versions:
See #42454 , #42456 .
2018-06-23 16:53:38 -05:00
Will Dietz
db7041a047
libc++{,abi}_38: musl fixes, cmake is nativeBuildInput
2018-06-23 15:53:45 -05:00
Will Dietz
0b7cc25d19
clang_38: musl fixup, cmake should be nativeBuildInput
2018-06-23 15:53:45 -05:00
Will Dietz
ae78847b50
clang_39: fix w/musl (same as clang_4)
2018-06-23 15:53:44 -05:00
Will Dietz
e4fffae0cf
llvmPackages_39.libcxx: minor cleanup
2018-06-23 15:53:44 -05:00
Will Dietz
dd4299a27c
llvm_39: musl patches, same as llvm_4
2018-06-23 15:53:44 -05:00
Will Dietz
ebcdd8b9b0
llvm_4: refactor patch location, will be sharing shortly
2018-06-23 15:53:44 -05:00
Will Dietz
68351290ad
llvm_38: musl patches + options
...
Same as those added to llvm_39 a few commits ago.
2018-06-23 15:53:44 -05:00
Will Dietz
4ef4e0f44b
llvm_38: always apply sigaltstack patch
2018-06-23 15:53:44 -05:00
Will Dietz
182de524a1
llvm_{39,4}: refactor to use same patch file
2018-06-23 15:53:44 -05:00
Will Dietz
a1bf9b6094
llvm_39: disable sanitizers/xray bits when using musl
...
Don't have a fix for this handy and don't need it yet
so for now just disable.
2018-06-23 15:53:44 -05:00
Will Dietz
b39fb5525b
llvm_39: set triples as well
2018-06-23 15:53:43 -05:00
Will Dietz
f0c154a109
llvm_39: apply llvm_4 compiler-rt patch for musl as well
2018-06-23 15:53:43 -05:00
Will Dietz
04fb628780
llvm_39: unconditionally apply sigaltstack fix
...
(as we do on other LLVM builds)
2018-06-23 15:53:43 -05:00
Will Dietz
96cfd14fd2
llvm-3.9: patches to fix w/musl
...
Mostly same as used with LLVM 4.0
2018-06-23 15:53:43 -05:00
Will Dietz
0ac09be295
llvm4: unconditionally set triples, not just on musl.
...
Split off from #42454 as requested.
2018-06-23 14:07:49 -05: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
fc9644d4c9
llvm 6: Fix libcxxabi impurity and darwin sanitizers
2018-06-14 19:19:54 -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