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
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
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
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
Kyle Copperfield
19adae30c1
llvm/compiler-rt: default to compatible scudo options
2019-11-19 16:10:39 +00:00
Ben Wolsieffer
50c315fc4d
llvm_9: disable failing test on armv6l
2019-11-09 11:01:12 -05:00
Ben Wolsieffer
d67cd40cd8
llvm_9: disable failing tests on 32-bit ARM
2019-11-08 17:54:08 -05:00
Matthew Bauer
42710203b0
llvm9/clang.nix: fix clang on macos
...
Fixes #70243
2019-10-03 23:40:05 -04:00
Matthew Bauer
1f95c9c933
llvm9/compiler-rt: fix on i686
2019-09-30 21:27:22 -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
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