3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

451 commits

Author SHA1 Message Date
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
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