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
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 eb31e481475 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