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