github-actions[bot]
ce0d85be7c
Merge master into staging-next
2024-05-06 00:02:18 +00:00
github-actions[bot]
041bd1cdf7
Merge master into staging-next
2024-05-05 18:00:54 +00:00
Randy Eckenrode
7d9ac4d1c3
Revert "llvmPackages.lldb: combine out
and lib
outputs on Darwin"
...
This reverts commit 210ebc2123
.
2024-05-05 13:39:16 -04:00
Randy Eckenrode
210ebc2123
llvmPackages.lldb: combine out
and lib
outputs on Darwin
...
LLDB expects to find the location of `bin` relative to `lib`. Patching
it to know the location would cause a cycle between the `out` output and
the `lib` output, so combine the two on Darwin.
Fixes https://github.com/NixOS/nixpkgs/issues/252838 .
2024-05-04 18:19:56 -04:00
github-actions[bot]
df0375a9b2
Merge staging-next into staging
2024-05-02 18:01:39 +00:00
github-actions[bot]
31135daf48
Merge master into staging-next
2024-05-02 18:01:05 +00:00
Peder Bergebakken Sundt
db15bbc3d5
treewide: remove unreferenced patch files ( #308127 )
...
Found with `fd \\.patch$ pkgs/ -x bash -c 'rg -F "{/}" pkgs/ -q || echo {}'`
2024-05-02 12:41:45 +00:00
Weijia Wang
a43f3e993e
Merge pull request #307819 from OPNA2608/ppc64/llvm
...
llvmPackages*.llvm: Disable checkPhase on powerpc64-linux
2024-05-02 12:45:56 +02:00
Weijia Wang
41126a9493
Merge branch 'master' into staging-next
2024-05-01 10:51:08 +02:00
Sameer Rahmani
179c09cf69
llvm,mlir: Fix the incorrect MLIR_INSTALL_PACKAGE_DIR config
2024-04-30 15:57:43 +01:00
OPNA2608
be1299a6ef
llvmPackages*.llvm: Disable checkPhase on powerpc64-linux
...
Many failures in MCJIT & Orc(more JIT).
2024-04-30 00:01:23 +02:00
sternenseemann
19f23dfdde
llvmPackages_16.llvm: actually enable libLLVMGold.so
...
As noted in 3e8355df84
, this seems to be
unproblematic. If we keep this disabled, it is unfortunately not
possible to do PGO with the default clang stdenv on GNU platforms.
2024-04-22 01:42:07 +02:00
github-actions[bot]
3aa8ef1d54
Merge staging-next into staging
2024-04-20 12:01:42 +00:00
John Ericson
ab097e08b7
llvmPackages.libcxx: Fix FreeBSD build
...
ce789e7e35
wasn't quite right, because multiple outputs.
2024-04-19 18:35:56 -04:00
Randy Eckenrode
852ef04876
llvmPackages_{12,13,14,15,16,17,18,git}.clang: fix libLTO.dylib path
...
Clang assumes that `libLTO.dylib` is located at `../lib` in the same
prefix as `clang`, but that’s not true in nixpkgs. `libLTO.dylib` is
actually located at `libllvm^lib/lib.libLTO.dylib`.
2024-04-15 15:38:13 -04:00
Tristan Ross
2941e51966
llvmPackages_{12,13,14,15,16,17,18,git}: use common llvm
2024-04-13 19:57:49 -07:00
Tristan Ross
dc4d5c2193
llvmPackages_{12,13,14,15,16,17,18,git}: use common clang
2024-04-13 19:01:42 -07:00
Weijia Wang
e65e742588
Merge pull request #303449 from ExpidusOS/feat/llvm-git-commonify-libcxx
...
llvmPackages_{12,13,14,15,16,17,18,git}: use common libcxx
2024-04-13 16:31:35 +02:00
Weijia Wang
8a26b55947
Merge pull request #303479 from ExpidusOS/feat/llvm-git-commonify-compiler-rt
...
llvmPackages_{12,13,14,15,16,17,18,git}: use common compiler-rt
2024-04-13 16:31:02 +02:00
Tristan Ross
782fc2ebac
llvmPackages_{12,13,14,15,16,17,18,git}: use common libcxx
2024-04-12 15:50:13 -07:00
Tristan Ross
1572ec6bb1
llvmPackages_{12,13,14,15,16,17,18,git}: use common lld
2024-04-12 13:57:50 -07:00
Weijia Wang
ded11d6ffe
Merge pull request #303447 from ExpidusOS/feat/llvm-git-commonify-libunwind
...
llvmPackages_{12,13,14,15,16,17,18,git}: use common libunwind
2024-04-12 22:55:30 +02:00
Tristan Ross
312264686e
llvmPackages_{12,13,14,15,16,17,18,git}: use common compiler-rt
2024-04-12 13:38:29 -07:00
Tristan Ross
8c71431f14
llvmPackages_{12,13,14,15,16,17,18,git}: use common openmp
2024-04-12 07:22:03 -07:00
Tristan Ross
ae92b08fd4
llvmPackages_{12,13,14,15,16,17,18,git}: use common libunwind
2024-04-11 22:54:11 -07:00
stuebinm
ff1a94e523
treewide: add meta.mainProgram to packages with a single binary
...
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Weijia Wang
023bc57dcc
llvmPackages_17.mlir: cleanup
2024-02-24 05:35:53 +01:00
Weijia Wang
276b313a2b
llvmPackages_git.mlir: init
2024-02-23 05:47:53 +01:00
Weijia Wang
bd1607202d
llvmPackages: move patches to proper folders ( #287092 )
...
* llvmPackages: move clang-*-LLVMgold-path.patch to common/clang
* llvmPackages: move exegesis-force-bdver2.patch to 9/llvm
* llvmPackages: move llvm-config-link-static.patch to common/llvm
* llvmPackages: move TLI-musl.patch to common/llvm
* llvmPackages: move libcxx-0001-musl-hacks.patch to common/llvm
2024-02-23 05:14:36 +01:00
Weijia Wang
83c5c46359
llvmPackages: cleanup orphaned files
2024-02-10 04:07:25 +01:00
Weijia Wang
c380de2514
llvmPackages_git: 18.0.0-unstable-2023-10-04 -> 18.0.0-unstable-2023-12-13 ( #286525 )
...
* llvmPackages_git: 18.0.0-unstable-2023-10-04 -> 18.0.0-unstable-2023-12-13
* llvmPackages_git.clang: generalize version in folders
* llvmPackages_git.lldb: bump swig and vscode extension
* llvmPackages_git.{clang,lldb,llvm}-manpages: replace recommonmark by myst-parser
2024-02-06 21:37:08 +01:00
Nikodem Rabuliński
6305515e45
lldb: add meta.mainProgram
2024-01-12 20:06:31 +01:00
Nikodem Rabuliński
62cb8f4628
llef: init at unstable-2023-10-18
2024-01-12 20:06:30 +01:00
Weijia Wang
4994d382bb
Merge pull request #279404 from trofi/llvm-bintool-targtePrefix-eval-fix
...
llvmPackages.bintools.bintools: expose `targetPrefix` attribute to ma…
2024-01-10 19:50:51 +01:00
Sergei Trofimovich
88f8b20419
llvmPackages.bintools.bintools: expose targetPrefix
attribute to match binutils
...
Before the change `llvmPackages.bintools.bintools.targetPrefix` was not
present. This exposed as a discrepansy between `binutils` and `llvm`:
`binutils`:
nix-repl> stdenv.cc.bintools.bintools.targetPrefix
""
nix-repl> stdenv.cc.bintools.targetPrefix
""
`llvm`:
nix-repl> pkgsLLVM.stdenv.cc.bintools.targetPrefix
"x86_64-unknown-linux-gnu-"
nix-repl> pkgsLLVM.stdenv.cc.bintools.bintools.targetPrefix
error:
error: attribute 'targetPrefix' missing
As a result some attributes like `pkgsLLVM.actionlint` failed to
evaluate:
$ nix build --no-link -f. pkgsLLVM.actionlint
...
error: attribute 'targetPrefix' missing
at pkgs/development/compilers/ghc/9.4.8.nix:232:46:
231| export READELF="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}readelf"
232| export STRIP="${bintoolsFor.strip}/bin/${bintoolsFor.strip.targetPrefix}strip"
| ^
The change exposes binary prefix the same way as `binutils` does.
2024-01-07 14:47:22 +00:00
Weijia Wang
8741644b3f
lldb: allow to be used as vscode extension again
2024-01-06 00:30:14 +01:00
sternenseemann
23cf198545
llvmPackages_{16,17,git}.lldb: tell cc-wrapper about libclang*.so
...
It appears that LLVM's build system no longer sets the executable's
rpath to include the faux resource root we pass in, so we need to make
sure cc-wrapper does this.
2024-01-04 11:00:25 +01:00
Semion Nadezhdin
622a03c198
llvmPackages_{14,15,16,17,git}.lldb: unify lua and python path patch
2024-01-04 11:00:25 +01:00
Weijia Wang
f6da64f8db
llvmPackages_17.libclc: init
2023-12-12 02:28:36 +01:00
Tristan Ross
d6d5c8a14e
llvmPackages_17: init
2023-12-07 16:28:06 -08: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
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
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
Artturin
079fa2f075
llvmPackages.compiler-rt: dedupe codesign.patch
7-12
...
found with fdupes
```
pkgs/development/compilers/llvm/8/compiler-rt/codesign.patch
pkgs/development/compilers/llvm/10/compiler-rt/codesign.patch
pkgs/development/compilers/llvm/12/compiler-rt/codesign.patch
pkgs/development/compilers/llvm/9/compiler-rt/codesign.patch
pkgs/development/compilers/llvm/7/compiler-rt/codesign.patch
pkgs/development/compilers/llvm/11/compiler-rt/codesign.patch
```
2023-09-06 19:16:28 +03:00
Artturin
ac62f864ca
llvmPackages.libcxxabi: dedupe no-threads.patch
...
found with fdupes
```
pkgs/development/compilers/llvm/8/libcxxabi/no-threads.patch
pkgs/development/compilers/llvm/10/libcxxabi/no-threads.patch
pkgs/development/compilers/llvm/9/libcxxabi/no-threads.patch
pkgs/development/compilers/llvm/11/libcxxabi/no-threads.patch
```
2023-09-06 19:16:28 +03:00
Artturin
ea946c7423
llvmPackages.libcxxabi: dedupe wasm.patch
...
found with fdupes
```
pkgs/development/compilers/llvm/8/libcxxabi/wasm.patch
pkgs/development/compilers/llvm/13/libcxxabi/wasm.patch
pkgs/development/compilers/llvm/14/libcxxabi/wasm.patch
pkgs/development/compilers/llvm/10/libcxxabi/wasm.patch
pkgs/development/compilers/llvm/15/libcxxabi/wasm.patch
pkgs/development/compilers/llvm/12/libcxxabi/wasm.patch
pkgs/development/compilers/llvm/9/libcxxabi/wasm.patch
pkgs/development/compilers/llvm/16/libcxxabi/wasm.patch
pkgs/development/compilers/llvm/git/libcxxabi/wasm.patch
pkgs/development/compilers/llvm/11/libcxxabi/wasm.patch
```
2023-09-06 19:16:28 +03:00
Artturin
627bb740a9
llvmPackages.bintools-unwrapped: use targetPrefix for variable name like binutils does
...
and run nixpkgs-fmt
2023-09-06 03:59:38 +03:00