Commit Graph

2326 Commits

Author SHA1 Message Date
Aliaksandr
9921d05da3 treewide: replace stdenv.is* with stdenv.hostPlatform.is*
Assisted-by: claude-code with claude-opus-4-8
2026-08-12 20:27:00 +02:00
K900
935c23a7e9 libclc: drop
Nothing but Mesa uses it, and Mesa uses mesa-libclc now,
so simplify the LLVM builds by deleting this.
2026-08-06 17:26:46 +03:00
Vladimír Čunát
75568a3200 llvmPackages_22.compiler-rt: improve conditional precision
In case of 22 the upstream commit is
9b722024f1
(which reaches tags 22.1.5+, by github.com UI)

Practical issue solved by this is most pkgsRocm based on 22.0.0:
https://hydra.nixos.org/build/339955996/nixlog/3/tail
2026-07-31 13:22:46 +02:00
nixpkgs-ci[bot]
d77da1d344 Merge master into staging-next 2026-07-27 18:32:26 +00:00
Alyssa Ross
a9c6e2e9bb llvmPackages_git: 23.0.0-unstable-2026-07-12 -> 24.0.0-unstable-2026-07-26 (#543715) 2026-07-27 13:39:47 +00:00
Randy Eckenrode
d5b6cbf90b llvmPackages_{18,19,20,21}.compiler-rt: backport santizier fix for Linux
Linux dropped `linux/scc.h` from Linux 7.1, which breaks building
compiler-rt when sanitizers enabled. Upstream fixed this for LLVM 23.
This PR cherry-picks the fix for the other LLVM packages in Nixpkgs.
2026-07-26 23:53:10 -04:00
Tristan Ross
f0f02fcf8f llvmPackages_git: 23.0.0-unstable-2026-07-19 -> 24.0.0-unstable-2026-07-26 2026-07-26 18:37:56 -07:00
Tristan Ross
505ba675fe llvmPackages_git: 23.0.0-unstable-2026-07-12 -> 24.0.0-unstable-2026-07-19 2026-07-19 22:45:13 -07:00
Tristan Ross
acccf0fdbf llvmPackages_23: init from git 2026-07-19 22:34:09 -07:00
Tristan Ross
90c2cdecb0 llvmPackages_git: 23.0.0-unstable-2026-07-12 -> 23.1.0-rc1 2026-07-19 22:31:10 -07:00
whispers
28e4505698 llvm: add comment about backport selectiondag miscompile fix 2026-07-15 10:32:24 -04:00
whispers
4f7c60edb1 llvm_22: pick patch for selectiondag freeze condition miscompile
see f8a025c964.
this commit backports that same change to LLVM 22. the fix is not
available upstream since LLVM 22 is EOL, but we can pick the patch
from the Rust fork of LLVM, as that is currently on version 22.1.
2026-07-15 10:32:24 -04:00
whispers
f8a025c964 llvm_21: backport patch for selectiondag freeze condition miscompile
Several LLVM versions have a bug in SelectionDAG that causes
miscompilations around conditional poisions. This was exposed due to
Rust 1.97.0 exercising the involved code path heavily and generating
segfaulting code, but the bug existed beforehand as well. The patch was
made to LLVM 23, but the tests have many conflicts, so this is a manual
backport. This backport was made by:

- applying the code change to `llvm/lib`
- hand-updating `test/CodeGen/Mips/cmov.ll` with the same diff as the PR
- updating the rest with `utils/update_llc_test_checks.py` from the LLVM
  source tree, and verifying the diff against the one in the PR.

The last step made this a rather large and gnarly patch, but it's mostly
mechanical.

Rust issue: https://github.com/rust-lang/rust/issues/159035
LLVM issue: https://github.com/llvm/llvm-project/issues/208611
LLVM PR: https://github.com/llvm/llvm-project/pull/208683
2026-07-15 07:16:19 -04:00
nixpkgs-ci[bot]
c45ba81144 Merge staging-next into staging 2026-07-13 12:50:29 +00:00
Tristan Ross
94ed25df38 llvmPackages_git: 23.0.0-unstable-2026-07-05 -> 23.0.0-unstable-2026-07-12 2026-07-12 19:06:20 -07:00
Grimmauld
1d05796574 treewide: openmpCheckPhaseHook -> checkPhaseThreadLimitHook 2026-07-10 00:47:02 +02:00
nixpkgs-ci[bot]
ef2a4dc291 Merge master into staging-next 2026-07-07 12:49:45 +00:00
Tristan Ross
21abc45679 llvmPackages_git: 23.0.0-unstable-2026-06-28 -> 23.0.0-unstable-2026-07-05 2026-07-05 19:18:14 -07:00
nixpkgs-ci[bot]
77e66ec830 Merge master into staging-next 2026-06-29 13:30:07 +00:00
Tristan Ross
844c6a6f56 llvmPackages_git: 23.0.0-unstable-2026-06-21 -> 23.0.0-unstable-2026-06-28 2026-06-28 20:34:39 -07:00
Grimmauld
559ae88af9 llvmPackages.openmp: propagate openmpCheckPhaseHook 2026-06-26 18:42:06 +02:00
Alyssa Ross
606fc62a8e llvmPackages_22.libclc: fix eval + build (#535109) 2026-06-25 10:15:09 +00:00
Ryan Burns
4da4d4bc7b llvmPackages_22.libclc: prepare_builtins was removed in LLVM 22.1
Or more specifically, in:
f07988ff3e
2026-06-24 18:43:30 -07:00
nixpkgs-ci[bot]
15ac393dce Merge staging-next into staging 2026-06-22 13:54:31 +00:00
Tristan Ross
c583625dd7 llvmPackages_git: 23.0.0-unstable-2026-06-14 -> 23.0.0-unstable-2026-06-21 2026-06-21 18:25:05 -07:00
nixpkgs-ci[bot]
56d55fe668 Merge staging-next into staging 2026-06-16 19:14:38 +00:00
Alyssa Ross
e5e5559286 llvmPackages_22: 22.1.7 -> 22.1.8 (#532370) 2026-06-16 17:34:46 +00:00
Tristan Ross
559fe1e719 llvmPackages_22: 22.1.7 -> 22.1.8 2026-06-16 09:22:23 -07:00
nixpkgs-ci[bot]
1edac5a512 Merge staging-next into staging 2026-06-16 13:47:49 +00:00
Tristan Ross
4d8211ff1d llvmPackages_git: 23.0.0-unstable-2026-06-07 -> 23.0.0-unstable-2026-06-14 2026-06-14 21:54:54 -07:00
nixpkgs-ci[bot]
5db68cfaa0 Merge staging-next into staging 2026-06-10 13:12:00 +00:00
Alyssa Ross
0634e1e5c1 llvmPackages_git: 23.0.0-unstable-2026-05-31 -> 23.0.0-unstable-2026-… (#529346) 2026-06-10 10:16:08 +00:00
nixpkgs-ci[bot]
16753a2419 Merge staging-next into staging 2026-06-10 07:31:29 +00:00
SandaruKasa
1e688f1324 llvmPackages.bintools-unwrapped: inherit meta.teams from llvm 2026-06-09 01:06:18 +03:00
Tristan Ross
e9cd46ce60 llvmPackages_git: 23.0.0-unstable-2026-05-31 -> 23.0.0-unstable-2026-06-07 2026-06-07 18:35:12 -07:00
nixpkgs-ci[bot]
ad3c932e68 Merge staging-next into staging 2026-06-08 00:49:28 +00:00
Tristan Ross
b3578a5bfd llvmPackages_git: 23.0.0-unstable-2026-05-24 -> 23.0.0-unstable-2026-… (#526627) 2026-06-07 23:28:40 +00:00
nixpkgs-ci[bot]
6d151c9ef3 Merge staging-next into staging 2026-06-07 18:29:16 +00:00
Philip Taron
126e9b8e25 treewide: drop some unnecessary toString calls (#527924) 2026-06-07 13:03:10 +00:00
nixpkgs-ci[bot]
40cd11208d Merge staging-next into staging 2026-06-05 18:41:13 +00:00
Robert Hensing
235013cf37 treewide: drop unnecessary toString calls
Scope:
- Combination of
  - Textual matches of "baseNameOf (toString"
  - Redundant toString calls I've found with my latest
    "lazy paths" nix branch as they force lazy fetches into
    the store. More info and new PR soon.
- Only cases I believe are worthwhile or easily determined

I've determined the validity by
- testing llvmPackages instantiation
- figuring out which types can pass into any particular
  toString call - "human fuzzy type checker"

Behavior considerations by type:

- `path`: converted back to a string *without* context
  `baseNameOf` does not copy things to the store on its own,
  equivalent to its behavior for string inputs
- `null`: converted to `""` -> may be valid input!
  ok if "" would not have been acceptable anyway
- `string` itself: passed through identically -> trivial
- `attrset` with `outPath`: same coercion as built into
  the `baseNameOf` function -> trivial
- other atomic types: generally not sensible inputs to
  `baseNameOf` -> fuzzy but true
2026-06-04 13:11:56 +02:00
Tristan Ross
69fcef5537 llvmPackages_22: 22.1.6 -> 22.1.7 2026-06-03 10:11:17 -07:00
nixpkgs-ci[bot]
a0ee92dfa2 Merge staging-next into staging 2026-06-02 00:49:58 +00:00
Clément
5d26766cbf treewide: add missing meta.homepage with source git repository
Added homepage where missing, where the sources are pulled from:
- https://github.com
- https://git.sr.ht
- https://gitlab.com
- https://invent.kde.org
- https://codeberg.org
- https://gitlab.gnome.org
- https://gitlab.freedesktop.org
- https://git.FreeBSD.org
- https://salsa.debian.org
- https://git.tvdr.de
- https://git.suckless.org
2026-06-01 23:40:52 +02:00
Tristan Ross
0917fee1c3 llvmPackages_git: 23.0.0-unstable-2026-05-24 -> 23.0.0-unstable-2026-05-31 2026-05-31 22:49:57 -07:00
nixpkgs-ci[bot]
13e9f64a65 Merge staging-next into staging 2026-05-25 18:35:07 +00:00
Alyssa Ross
03c3837e3a llvmPackages_git: 23.0.0-unstable-2026-05-17 -> 23.0.0-unstable-2026-… (#523822) 2026-05-25 16:10:19 +00:00
Tristan Ross
c33cc6c3dd llvmPackages_22: 22.1.5 -> 22.1.6 2026-05-24 21:38:27 -07:00
Tristan Ross
cf95967217 llvmPackages_git: 23.0.0-unstable-2026-05-17 -> 23.0.0-unstable-2026-05-24 2026-05-24 17:42:06 -07:00
nixpkgs-ci[bot]
f25f9861cd Merge staging-next into staging 2026-05-18 18:38:14 +00:00