Randy Eckenrode
cc2d0f04db
llvmPackages_6.lldb: fix build on x86_64-darwin
2023-11-25 16:31:12 -05:00
Randy Eckenrode
856eb81d1f
llvmPackages_{7,8,9}.{llvm-polly,libllvm-polly}: fix build with clang 16
...
Same fix as https://github.com/NixOS/nixpkgs/pull/265967 .
2023-11-25 16:31:12 -05:00
Artturi
1ea40b20f1
Merge pull request #268812 from Artturin/llvmdedup3
2023-11-23 21:00:27 +02:00
Artturin
8b68c650d8
llvmPackages_16.libclc: fix cross eval
...
libclc was moved in to the set in 223afab31f
2023-11-22 21:50:36 +02:00
Artturin
f6749cddad
llvmPackages_11.compiler-rt: restore libcxxabi
argument
...
Removing this caused
`error: anonymous function at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/development/compilers/llvm/11/compiler-rt/default.nix:1:1 called with unexpected argument 'libcxxabi'`
https://github.com/search?q=repo%3ANixOS%2Fnixpkgs%20%2Fcompiler-rt.override%2F&type=code
The argument became unused in 56fcbcd154 (diff-b1bb77941db4393b7d2cf7a370cee294318418f2507b7a78e22353d1afbb6d21L18)
but it was not removed from `buildInputs` in later `llvmPackages` because `llvmPackages_12` had
been created before this change was done.
Removing `libcxxabi` from `buildInputs` may have to be applied to the
other `llvmPackages` too.
2023-11-21 17:45:58 +02:00
Artturin
b59fd202d7
llvmPackages: Remove dead code
...
for hygiene
Run `deadnix . --edit`
`gccForLibs` is an argument used by multi.nix but it's an argument to
cc-wrapper, not to llvmPackages.
`@args` in `llvm/default.nix` was accidentally added in 4badff49fd
There are no uses of `@` therefore these changes are safe.
2023-11-21 02:05:15 +02:00
Artturin
c1e1a583a0
llvmPackages_{13,14}: Use releaseInfo and monorepoSrc
...
Doing the same thing as was done in the initial adding of `monorepoSrc` to `llvmPackages_15` d231d18e4a
2023-11-21 01:46:51 +02:00
Artturin
e6751897e0
llvmPackages: Dedupe monorepoSrc
2023-11-21 01:46:51 +02:00
Artturin
5ac86a99e7
llvmPackages: Dedupe releaseInfo
2023-11-21 01:46:51 +02:00
Artturin
2902f99c57
llvmPackages: Dedupe llvm_meta
2023-11-21 01:46:47 +02:00
Weijia Wang
25b33e9c70
Merge pull request #267298 from boltzmannrain/lldb7_macos
...
lldb_7: fix x86_64-darwin build
2023-11-18 05:42:14 +01:00
Raito Bezarius
9866a5be7e
llvmPackages_5: drop
...
While using very old compilers is a fair usecase, it induces a maintenance churn as
we collect more and more LLVM versions for the LLVM maintainers.
Especially when we need to backport uniform changes to the whole tree,
furthermore, it consumes and waste CI resources.
2023-11-17 16:12:32 +01:00
Dmitry Ivankov
7dbadf0f95
lldb_7: fix x86_64-darwin build
...
Add missing dependency DebugSymbols, already present in lldb_8 version
so copying from there.
ZHF: #265948
2023-11-13 21:45:43 +01:00
Martin Weinelt
c17ba56fe9
Merge pull request #266321 from lilyinstarlight/fix/llvm-16-wasi
...
[staging-next] llvmPackages: 12 -> 16 on wasm
2023-11-09 16:07:25 +01:00
Weijia Wang
83bfbf0213
Merge pull request #265490 from alyssais/compiler-rt-16-freebsd
...
llvmPackages_16.compiler-rt: fix FreeBSD build
2023-11-09 06:12:20 +01:00
Lily Foster
e58eaa0ee9
llvmPackages_{15,16}: fix libcxxabi -fno-exceptions build for wasm
2023-11-08 13:51:49 -05:00
Alyssa Ross
772a2502f1
llvmPackages_16.compiler-rt: fix FreeBSD build
...
The clang_rt.crt* files are only built on Linux (see the
COMPILER_RT_HAS_CRT CMake variable).
2023-11-07 10:01:10 +01:00
Randy Eckenrode
01d3b7449c
llvmPackages_10.llvm: fix build with clang 16
...
Add missing isl includes needed to build with Polly support enabled.
2023-11-06 19:15:25 -05:00
github-actions[bot]
4a533d29ce
Merge master into staging-next
2023-11-01 12:01:10 +00:00
Alyssa Ross
fcc44e9aea
llvmPackages_12.openmp,llvmPackages_13.openmp: fix cross
...
CMake commit faa950a155 ("try_compile: Run native build tool with verbose output")
did not play well with these versions of openmp, which have a faulty
failure regex that considers "unknown" in the build output to indicate
a failure. When cross compiling, the string "unknown" is very likely
to occur as part of triples. Fix by backporting a patch that improves
the failure regex check to not be tripped up by triples.
The same problem affects LLVM 11 and possibly earlier, but the patch
doesn't apply that far back, so I didn't bother for now.
Fixes: b8ac5b6cfb
("cmake: 3.25.3 -> 3.26.4")
2023-10-30 13:04:51 +01:00
Vladimír Čunát
1046dc0255
Merge #263876 : pkgsCross.wasi32.stdenv: fix build with LLVM 16
...
...into staging-next
2023-10-30 07:15:14 +01:00
K900
e6cbaa94f9
libclc: absorb into llvmPackages(16)
2023-10-28 15:26:11 +03:00
Randy Eckenrode
9b77925762
llvmPackages_16.libcxxabi: fix wasi32 build
2023-10-27 18:37:52 -04:00
Randy Eckenrode
485ae91fbf
llvmPackages_16.libcxx: fix wasi32 build
2023-10-27 18:37:51 -04:00
Randy Eckenrode
71a741517a
llvmPackages_16.compiler-rt: fix wasi32 build
2023-10-27 18:24:36 -04:00
Ryan Lahfa
8092b36db1
Merge pull request #260267 from willcohen/emscripten-3.1.47
2023-10-22 00:22:48 +01:00
Fabián Heredia Montiel
d676e059d7
Merge remote-tracking branch 'origin/master' into staging-next
2023-10-10 15:07:12 -06:00
Will Cohen
509feb2e9b
llvmPackages_16.lld: backport table-base patch
...
Starting with emscripten-3.1.46, this flag to LLVM is needed.
This is a backport of
93adcb770b
.patch,
with additional review at https://reviews.llvm.org/D158892 and
https://github.com/emscripten-core/emscripten/issues/20097 .
2023-10-10 13:16:50 -04:00
Madoura
12e7fc6923
llvmPackages_rocm -> rocmPackages.llvm
2023-10-09 16:38:51 -05:00
Madoura
68ca0c26d8
llvmPackages_rocm.lldb: disable tests
2023-10-09 16:38:50 -05:00
Madoura
117639a256
llvmPackages_rocm.libclc: mark broken due to ROCm 5.7.0 LLVM not being up-to-date with LLVM upstream
2023-10-09 16:38:50 -05:00
Madoura
c9132cc3be
llvmPackages_rocm: add hardeningDisable pass-in option
2023-10-09 16:38:49 -05:00
Madoura
95768ef3b6
llvmPackages_rocm: add big-parallel for clang-unwrapped, clang-tools-extra, and mlir
2023-10-09 16:38:49 -05:00
Madoura
d2bc96e5b5
llvmPackages_rocm: fixup for 5.7.0
...
llvmPackages_rocm.llvm: fixup for 5.7.0
llvmPackages_rocm.clang-unwrapped: fixup for 5.7.0
llvmPackages_rocm.lld: fixup for 5.7.0
llvmPackages_rocm.runtimes: fixup for 5.7.0
llvmPackages_rocm.libc: fixup for 5.7.0
llvmPackages_rocm.libunwind: fixup for 5.7.0
llvmPackages_rocm.libcxx: fixup for 5.7.0
llvmPackages_rocm.compiler-rt: fixup for 5.7.0
llvmPackages_rocm.clang: fixup for 5.7.0
llvmPackages_rocm.lldb: fixup for 5.7.0
llvmPackages_rocm.polly: fixup for 5.7.0
2023-10-09 16:38:49 -05:00
Madoura
37390cd11c
rocm-related: 5.4.X -> 5.7.0
...
hip-common: 5.4.2 -> 5.7.0
hipblas: 5.4.3 -> 5.7.0
hipcc: 5.4.2 -> 5.7.0
hipcub: 5.4.4 -> 5.7.0
hipfft: 5.4.3 -> 5.7.0
hipfort: 5.6.0 -> 5.7.0
hipify: 5.4.2 -> 5.7.0
hipsolver: 5.4.4 -> 5.7.0
hipsparse: 5.4.4 -> 5.7.0
llvmPackages_rocm.llvm: 5.4.4 -> 5.7.0
migraphx: 5.4.3 -> 5.7.0
clang-ocl: 5.4.2 -> 5.7.0
rccl: 5.4.3 -> 5.7.0
rdc: 5.4.2 -> 5.7.0
rocblas: 5.4.3 -> 5.7.0
rocdbgapi: 5.4.2 -> 5.7.0
rocfft: 5.4.3 -> 5.7.0
miopen: 5.4.2 -> 5.7.0
rocm-comgr: 5.4.4 -> 5.7.0
rocgdb: 5.4.2 -> 5.7.0
rocm-device-libs: 5.4.4 -> 5.7.0
rocalution: 5.4.3 -> 5.7.0
rocm-smi: 5.4.4 -> 5.7.0
rocm-runtime: 5.4.3 -> 5.7.0
rocminfo: 5.4.4 -> 5.7.0
rocm-thunk: 5.4.4 -> 5.7.0
rocprofiler: 5.4.3 -> 5.7.0
rocprim: 5.4.3 -> 5.7.0
rocrand: 5.4.3 -> 5.7.0
rocmlir: 5.4.1 -> 5.7.0
rocr-debug-agent: 5.4.2 -> 5.7.0
rocthrust: 5.4.3 -> 5.7.0
rocsparse: 5.4.3 -> 5.7.0
roctracer: 5.4.3 -> 5.7.0
rocsolver: 5.4.4 -> 5.7.0
tensile: 5.4.2 -> 5.7.0
rocwmma: 5.4.3 -> 5.7.0
rocm-cmake: 5.4.4 -> 5.7.0
2023-10-09 16:38:49 -05:00
Vladimír Čunát
6d408ebbe5
Merge #255706 : llvmPackages_{15,16}.llvm: skip googletest-timeout lit test
...
...into staging
2023-09-28 08:53:52 +02:00
Artturi
6f27ba80ea
Merge pull request #255488 from natto1784/libcxxabi
2023-09-20 09:12:51 +03:00
Amneesh Singh
accafc0ed3
cc-wrapper: add libcxxabi include flag for LLVM
...
Removed workaround from llvm 16.
Fixes including cxxabi.h on llvm >=15 libcxxStdenv.
```c
int main() {}
```
```
/nix/store/qwnvng0cbyx0bijm654jpmpl0516hfhx-libcxxabi-15.0.7-dev/include/cxxabi.h:20:10: fatal error: '__cxxabi_config.h' file not found
```
Before llvm 15 this used to work because `libcxx` copied the headers
from `cxxabi` to it's own `include`, which was then picked up by the
line above this one
Alternative fix would be to copy all files from `${cxxabi.dev}/include/c++/v1` to `${cxxabi.dev}/include` so the cc-wrapper setup hook would pick them up, but that would depend on in cxxabi being in buildInputs.
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-09-18 06:43:32 +05:30
Robert Scott
23375e8231
llvmPackages_15.llvm: skip googletest-timeout lit test
...
timing-based tests can cause trouble on loaded or slow machines
2023-09-17 17:24:42 +01:00
Robert Scott
29d1e0ccbf
llvmPackages_16.llvm: skip googletest-timeout lit test
...
timing-based tests can cause trouble on loaded or slow machines
2023-09-17 17:24:42 +01:00
Sandro Jäckel
fccf04b620
treewide: replace -DCMAKE_BUILD_TYPE in cmakeFlags with cmakeBuildType
2023-09-08 14:18:26 +00:00
github-actions[bot]
d987b47512
Merge master into staging-next
2023-09-08 06:00:58 +00:00
Rahul Butani
0251e2645a
llvmPackages_15.libcxx: fix the generated linker script
...
See:
- https://github.com/NixOS/nixpkgs/issues/214524#issuecomment-1429146432
- 57c7bb3ec8
- https://reviews.llvm.org/D133566
We can drop this patch in `llvmPackages_16`.
Fixes #214524 .
2023-09-08 05:41:29 +03:00
github-actions[bot]
204bfce523
Merge staging-next into staging
2023-09-07 00:02:49 +00:00
Artturi
de42a231a4
Merge pull request #236203 from SharzyL/llvm_no_extend
2023-09-06 23:44:14 +03:00
Artturi
872e54e9e7
Merge pull request #253533 from Artturin/llvmusesuball
2023-09-06 21:17:12 +03:00
Artturi
0d16a6b6a5
Merge pull request #253573 from Artturin/llvmdedup2
2023-09-06 21:15:53 +03:00
Artturin
d7d68a1a04
llvmPackages.lldb: remove unnecessary inherit
...
release_version is provided with callPackage
2023-09-06 20:23:43 +03:00
Artturin
1d620bec20
llvmPackages.lldb: deduplicate git
2023-09-06 20:23:43 +03:00
Artturin
3b16ddfda7
llvmPackages.clang: dedupe purity.patch
5-8
...
found with fdupes
```
pkgs/development/compilers/llvm/8/clang/purity.patch
pkgs/development/compilers/llvm/5/clang/purity.patch
pkgs/development/compilers/llvm/6/clang/purity.patch
pkgs/development/compilers/llvm/7/clang/purity.patch
```
2023-09-06 19:16:28 +03:00