Vladimír Čunát
60d89e5793
Merge branch 'master' into staging
2020-07-29 18:40:28 +02:00
Matthew Bauer
b331c72f03
llvm: setup some symlinks for compatibility with binutils
...
This is needed for cross-compiling for LLVM.
After https://github.com/NixOS/nixpkgs/pull/94088 , we still need some
of these, so I’ve whitelisted those that are in binutils.
/cc @DavidTruby
2020-07-28 15:08:46 -05:00
Matthew Bauer
81bb09571f
Merge pull request #94061 from DieGoldeneEnte/llvm-manpage-disable
...
llvmPackages_{8..10}: comment out broken manpages
2020-07-28 14:54:28 -05:00
Matthew Bauer
b22fc7f03b
Merge pull request #91682 from DieGoldeneEnte/clang_rtti
...
clang_{5..10}: add RTTI
2020-07-28 14:47:54 -05:00
David Truby
46e5ea5af6
llvm*: remove symlinks to llvm-diff, llvm-as and associated LLVM IR utilities.
...
These llvm-prefixed utilities are not drop-in replacements for the utilities
with similar names, they are specifically for operating on LLVM IR files.
Symlinking these without the prefix causes incompatibilities with tools that
expect diff, as and others to behave normally.
2020-07-28 16:26:12 +01:00
Holger Wünsche
c4740fcb1b
llvmPackages_{8..10}: comment out broken manpages
...
This disables all manpages packages depending on recommonmark. This can
be undone once recommonmark supports sphinx 3. The other
manpage-packages don't use recommonmark and don't need to be commented
out.
2020-07-28 09:34:13 +02:00
Maximilian Bosch
2c60e7c2d0
llvm*: compiler-rt: fix build w/glibc-2.31
...
https://hydra.nixos.org/build/122885657 and more.
Original upstream fix (available in llvm_10):
947f969244
2020-06-29 14:41:43 +02:00
Holger Wünsche
0f0b14258b
clang_{5..10}: add RTTI
...
This fixes problems with missing symbols when using clang as library and
is most likely a result of llvm being build with RTTI enabled.
2020-06-27 20:37:11 +02:00
John Ericson
f3f7612a40
C++ Compilers: Systematize handling of standard libraries
2020-06-22 04:24:44 +00:00
Gabor Greif
d54bfa2a93
compiler-rt{6..10}: fix compilation on Darwin
...
addendum to https://github.com/NixOS/nixpkgs/pull/85945
2020-05-20 20:10:08 +02:00
John Ericson
1ac5398589
*-wrapper; Switch from infixSalt
to suffixSalt
...
I hate the thing too even though I made it, and rather just get rid of
it. But we can't do that yet. In the meantime, this brings us more
inline with autoconf and will make it slightly easier for me to write a
pkg-config wrapper, which we need.
2020-05-12 00:44:44 -04:00
Atemu
d616ae8c6d
llvm/compiler-rt: only apply armv7l patches on aarch32
...
No need for rebuilds on other platforms
2020-05-10 13:43:17 +09:00
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
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
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
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
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
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
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
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
David McFarland
6c86a2b5bb
llvm: use correct version of tablegen when cross compiling _8 and _9
2020-01-03 10:38:43 -04: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
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
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
volth
08f68313a4
treewide: remove redundant rec
2019-08-28 11:07:32 +00: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