Commit Graph

631 Commits

Author SHA1 Message Date
zvolin
1ab394e053 llvmPackages_17.{clang,tblgen}: fix builds on aarch64 2025-03-09 11:53:33 +01:00
K900
84cbffea41 Merge remote-tracking branch 'origin/master' into staging-next 2025-03-07 17:51:46 +03:00
Tristan Ross
decbece965 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.llvm: move patches out of common 2025-03-07 14:18:48 +01:00
Tristan Ross
2b28900a1f llvmPackages_{12,13,14,15,16,17,18,19,20,git}.lldb: move patches out of common 2025-03-07 14:18:28 +01:00
Tristan Ross
394ef62fb0 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.libcxx: move patches out of common 2025-03-07 14:18:04 +01:00
Tristan Ross
c330ebeb4f llvmPackages_{12,13,14,15,16,17,18,19,20,git}.compiler-rt: move patches out of common 2025-03-07 14:17:38 +01:00
Tristan Ross
946113bbf7 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.openmp: move patches out of common 2025-03-07 14:16:58 +01:00
Tristan Ross
1a148262f4 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.libunwind: move patches out of common 2025-03-07 14:16:40 +01:00
Tristan Ross
20e4f33f16 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.lld: move patches out of common 2025-03-07 14:16:16 +01:00
Tristan Ross
e85abae0ae llvmPackages_{12,13,14,15,16,17,18,19,20,git}.clang: move patches out of common 2025-03-07 14:15:33 +01:00
Tristan Ross
41d68f672d llvmPackages_{19,20,git}.bolt: move patches out of common 2025-03-07 14:15:11 +01:00
nixpkgs-ci[bot]
fc2e8cc675 Merge master into staging-next 2025-03-04 12:06:11 +00:00
Gaétan Lepage
d7dc48f3d1 llvm: also apply GOTOffsetMap to versions 15 and 16 (#384367) 2025-03-04 08:38:49 +01:00
Gaetan Lepage
6bb73a8872 llvm: also apply GOTOffsetMap to versions 15 and 16 2025-03-03 10:18:37 +01:00
nixpkgs-ci[bot]
9492c01997 Merge staging-next into staging 2025-02-27 12:06:25 +00:00
Tristan Ross
5cdc356732 llvmPackages_20: 20.1.0-rc2 -> 20.1.0-rc3 2025-02-27 10:15:48 +01:00
nixpkgs-ci[bot]
7a808915d7 Merge staging-next into staging 2025-02-27 00:15:11 +00:00
Weijia Wang
908e22516d llvmPackages_18.lldbPlugins.llef: 1.2.0 -> 1.2.1 (#378427) 2025-02-26 23:59:03 +01:00
Sergei Trofimovich
96dd72e531 llvmPackages_{12..18}.tblgen: backport gcc-15 fix (add <cstdint>) 2025-02-24 13:57:44 +01:00
Peder Bergebakken Sundt
5aba99242e treewide: fix typos in comments
Made with

```shell
git restore .
fd '\.nix$' pkgs/ --type f -j1 -x bash -xc "$(cat <<"EOF"
    typos --no-check-filenames --write-changes "$1"
    git diff --exit-code "$1" && exit
    #( git diff "$1" | grep -qE "^\+ +[^# ]") && git restore "$1"
    count1="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> ' | wc -l )"
    count2="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> (<span style="color:#f8f8f2;"> *</span>)?<span style="color:#75715e;">.*</span>$' | wc -l )"
    [[ $count1 -ne $count2 ]] && git restore "$1"
EOF
)" -- {}
```

and filtered with `GIT_DIFF_OPTS='--unified=15' git -c interactive.singleKey=true add --patch`

I initially tried using the tree-sitter cli, python bindings and even ast-grep through various means, but this is what I ended up with.
2025-02-24 10:44:41 +01:00
Audrey Dutcher
0ab9f97fcc clang-wrapper: add special case for FreeBSD headers
Replicate f382bac49b
2025-02-23 15:05:04 -07:00
nixpkgs-ci[bot]
9bd398d5e9 Merge master into staging-next 2025-02-18 12:05:57 +00:00
Tristan Ross
fbf4124ab5 llvmPackages_git: 21.0.0-unstable-2025-02-10 -> 21.0.0-unstable-2025-02-17 2025-02-18 09:36:59 +01:00
K900
ef9eef8d21 Merge remote-tracking branch 'origin/master' into staging-next 2025-02-15 17:19:02 +03:00
Adam C. Stephens
e820b339fe llvm: use prebuilt tblgen for NATIVE build as well (#381622) 2025-02-15 08:27:34 -05:00
Maximilian Bosch
8ddc25ad44 Merge: llvm_18: fix hash of glibc fix (#381988) 2025-02-15 10:41:41 +01:00
nixpkgs-ci[bot]
43a5de6cbb Merge master into staging-next 2025-02-14 12:05:56 +00:00
K900
8c76cbea6a llvmPackages.libc: rename shim .so to .tpl
This makes it not get deleted with cleanSource.
2025-02-14 12:25:15 +03:00
Maximilian Bosch
b5befb8547 llvm_18: fix hash of glibc fix
Closes #381739

As mentioned in this ticket, `fetchpatch2` doesn't seem stable without
`?full_index=1`.
2025-02-14 10:24:52 +01:00
Tristan Ross
51c0eeb414 llvmPackages_20: 20.1.0-rc1 -> 20.1.0-rc2 2025-02-14 09:36:39 +01:00
Audrey Dutcher
ddcf23f0ee llvm: use prebuilt tblgen for NATIVE build as well
This fixes an issue building cross for OpenBSD where it would link the
NATIVE tblgen with the host zlib.
2025-02-12 18:29:24 -07:00
nixpkgs-ci[bot]
3b33148625 Merge master into staging-next 2025-02-12 06:05:10 +00:00
Tristan Ross
c3ca7689a0 llvmPackages.libc: use clang by default (#381065) 2025-02-11 18:53:52 -08:00
Tristan Ross
441b3b201e llvmPackages.libc: use clang by default 2025-02-11 07:54:23 -08:00
nixpkgs-ci[bot]
cdb99d3a20 Merge master into staging-next 2025-02-11 12:05:55 +00:00
Francis Gagné
f5ff3cf76b lldb: Fix dependency cycle between out and lib outputs
Remove the `lib` output, so that `/lib` goes to the `out` output
instead. This fixes the following error:

ERROR: noBrokenSymlinks: the symlink .../lib/python3.12/site-packages/lldb/lldb-argdumper points to a missing target .../bin/lldb-argdumper

Fixes #380196
2025-02-10 22:45:07 -05:00
Alyssa Ross
d570710367 Reapply "llvmPackages.openmp: Build static libraries when appropriate"
This reverts commit c006d5f063.

Mass rebuild accidentally merged to master, now being resubmitted to
staging.
2025-02-09 08:55:29 +01:00
Alyssa Ross
110af7ef47 Reapply "llvmPackages.openmp: Make OMPD customisable, add missing Python dependency"
This reverts commit fa648b2835.

Mass rebuild accidentally merged to master, now being resubmitted to
staging.  Python had been added as an unconditionial build input on
staging in 261db7efdc ("llvmPackages.openmp: fix cross build"), but
we're keeping it conditional here per discussion with the author of
that change.

Link: https://github.com/NixOS/nixpkgs/pull/380299#issuecomment-2645492202
2025-02-09 08:55:29 +01:00
Greg Hellings
7118a85d93 llvmPackages.libunwind: fix mingw build problem
Fixes a broken symlink in the MinGW targets for the shared library

Fixes #379993
2025-02-08 15:25:10 -06:00
nixpkgs-ci[bot]
6790de439b Merge staging-next into staging 2025-02-08 12:05:35 +00:00
Alyssa Ross
fa648b2835 Revert "llvmPackages.openmp: Make OMPD customisable, add missing Python dependency"
This reverts commit ecd9d98879.

Mass rebuild accidentally merged to master.
2025-02-08 12:49:55 +01:00
Alyssa Ross
c006d5f063 Revert "llvmPackages.openmp: Build static libraries when appropriate"
This reverts commit 21a8b8d45e.

Mass rebuild accidentally merged to master.
2025-02-08 12:49:55 +01:00
zowoq
5f5cb66403 llvmPackages.compiler-rt: drop libc-free patch (#380213) 2025-02-08 21:47:00 +10:00
hacker1024
21a8b8d45e llvmPackages.openmp: Build static libraries when appropriate 2025-02-08 12:46:08 +01:00
hacker1024
ecd9d98879 llvmPackages.openmp: Make OMPD customisable, add missing Python dependency 2025-02-08 12:46:08 +01:00
nixpkgs-ci[bot]
d86538d179 Merge staging-next into staging 2025-02-08 00:14:28 +00:00
Tristan Ross
ea51b76184 llvmPackages.compiler-rt: drop libc-free patch 2025-02-07 14:35:28 -08:00
Tristan Ross
06f4e972ef llvmPackages: git -> 21.0.0, init 20.1.0-rc1 2025-02-06 20:25:32 -08:00
Tristan Ross
dc306bed83 llvmPackages: fix formatting 2025-02-06 20:25:01 -08:00
Vladimír Čunát
a3e8b3ee1c llvmPackages: fix broken symlink (#377186) 2025-02-04 07:54:35 +01:00