Commit Graph

2326 Commits

Author SHA1 Message Date
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
github-actions[bot]
24c668d7e0 Merge master into staging-next 2024-04-29 00:02:23 +00:00
Tristan Ross
ba69cd4eb4 llvmPackages_18: 18.1.3 -> 18.1.4 2024-04-28 20:17:09 +02:00
github-actions[bot]
9c36f57e91 Merge staging-next into staging 2024-04-22 06:01:32 +00:00
Randy Eckenrode
99df680e03 llvmPackages_{12,13,14,15,16,17,18,git}: use fixpoint instead of rec
Currently, overriding llvmPackages.libllvm doesn’t work correctly. The
original version of libllvm will also be built because it is referenced
by libclang. Switching to the fixpoint allows the override to be
propagated to clang as expected. This will be needed for future Darwin
stdenv bootstrap improvements.
2024-04-21 20:52:37 -04: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
github-actions[bot]
8354618bb8 Merge staging-next into staging 2024-04-14 20:49:56 +00:00
github-actions[bot]
b7dcef0598 Merge master into staging-next 2024-04-14 20:49:29 +00:00
Weijia Wang
b174ea6192 llvmPackages_18: drop an orphaned file 2024-04-14 18:56:19 +02:00
Tristan Ross
2941e51966 llvmPackages_{12,13,14,15,16,17,18,git}: use common llvm 2024-04-13 19:57:49 -07:00
Weijia Wang
2d0506704b Merge branch 'master' into staging-next 2024-04-14 04:55:27 +02: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
f3a1652b09 Merge branch 'master' into staging-next 2024-04-13 19:10:53 +02: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
github-actions[bot]
5a301eda67 Merge master into staging-next 2024-04-13 00:02:05 +00: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
Weijia Wang
792acac153 Merge pull request #303448 from ExpidusOS/feat/llvm-git-commonify-openmp
llvmPackages_{12,13,14,15,16,17,18,git}: use common openmp
2024-04-12 22:47:24 +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
Weijia Wang
1c4b46fcb8 Merge pull request #302489 from ExpidusOS/feat/llvm-git-2024-04-07
llvmPackages_git: update to 19.0.0-unstable-2024-04-07
2024-04-12 22:12:15 +02:00
Tristan Ross
e9c656afe4 llvmPackages_git: update to 19.0.0-unstable-2024-04-07 2024-04-12 07:25:26 -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
Vladimír Čunát
24d4f2cd52 Merge branch 'staging' into staging-next
Conflicts (tried to quickly resolve somehow, checked eval):
	pkgs/development/python-modules/apsw/default.nix
	pkgs/development/python-modules/mido/default.nix
	pkgs/development/python-modules/pytest-bdd/default.nix
	pkgs/development/python-modules/sparse/default.nix
2024-04-12 07:06:54 +02:00
Slava Gorbunov
e5064b957a llvm: Don't depend on binutils for ghcjs platform
This dependency was introduced by unconditionally enabled
enableGoldPlugin option, which was enabled only if libbfd explicitly
supports plugin api prior to llvm-16. In llvm-17+ it was enabled
unconditionally (unless overriden explicitly), which introduces
dependency on binutils for target platform and breaks build for
platforms that are not supported by binutils (such as ghcjs).
2024-04-10 21:08:31 +02:00
Tristan Ross
ee4806b35f llvmPackages_18: 18.1.1 -> 18.1.3 (#302738) 2024-04-09 15:38:29 +02:00
Tristan Ross
b1ef46706f llvmPackages_9: remove due to age 2024-04-08 22:39:53 -07:00
edef
725bb4e48c lib: add xor
This gets clumsily reimplemented in various places, to no useful end.
2024-04-04 19:46:58 +00:00
a-n-n-a-l-e-e
6fb20db673 Merge pull request #296284 from ExpidusOS/feat/llvm-18
llvmPackages_18: init
2024-03-28 00:58:16 -07:00
Artturin
0df1dae88b llvm/update-git.py: fix
Works after changing `git/default.nix` to use `gitRelease` instead of `officialRelease`

Wont update the version attr

```
, gitRelease ? {
    version = "15.0.0";
    rev = "a5640968f2f7485b2aa4919f5fa68fd8f23e2d1f";
    rev-version = "unstable-2022-26-07";
    sha256 = "1sh5xihdfdn2hp7ds3lkaq1bfrl4alj36gl1aidmhlw65p5rdvl7";
  }

```
2024-03-28 00:06:46 -07:00
Tristan Ross
e2a9e8c412 llvmPackages_git: update to 19.0.0-unstable-2024-03-16 2024-03-27 19:48:03 -07:00
Tristan Ross
aac3118ab5 llvmPackages_18: init 2024-03-27 19:47:59 -07:00
a-n-n-a-l-e-e
365bae4c5a Merge pull request #295358 from SharzyL/llvm17_libunwind
llvmPackages_17.clangUseLLVM: apply omitted #220520
2024-03-27 13:34:59 -07:00
Tristan Ross
c635984e73 llvmPackages_18: init 2024-03-25 22:53:02 -07:00
annalee
5b1b33f069 llvmPackages_{12,13,14,15,16,17,git}.libcxx: add LIBCXXABI_USE_COMPILER_RT=ON
since https://github.com/NixOS/nixpkgs/pull/292043 libcxxabi is built
using the same compiler wrapper as libcxx and thus uses the
`-rtlib=compiler-rt`. Adding the `LIBCXXABI_USE_COMPILER_RT=ON` at build
time ensures that the compiler-rt libraries provided at link time
resolving symbol errors for aarch64 pkgLLVM.libcxx build

https://hydra.nixos.org/build/253162977
2024-03-21 09:11:27 +00:00
annalee
ca5e01c3f4 treewide: drop LLVM11 2024-03-19 14:54:23 +00:00
Martin Weinelt
3321e63b12 Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/sphinx-autobuild/default.nix
2024-03-19 04:00:32 +01: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
github-actions[bot]
6b78f024b2 Merge staging-next into staging 2024-03-12 18:01:46 +00:00
Weijia Wang
b35fc0188b Merge pull request #295139 from wegank/libclc-bump
spirv-llvm-translator: add llvm 18 support
2024-03-12 18:46:55 +01:00
Weijia Wang
e1439b579b Merge pull request #295357 from wegank/llvm-git-cleanup
llvmPackages_git: cleanup
2024-03-12 18:45:25 +01:00