Commit Graph

2326 Commits

Author SHA1 Message Date
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
nixpkgs-ci[bot]
a1e04459e2 Merge staging-next into staging 2025-02-24 18:05:31 +00:00
Sergei Trofimovich
96dd72e531 llvmPackages_{12..18}.tblgen: backport gcc-15 fix (add <cstdint>) 2025-02-24 13:57:44 +01:00
Tristan Ross
8949380789 llvmPackages_git: 2025-02-17 -> 2025-02-23 2025-02-24 13:57:07 +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
Masum Reza
64f0d46a76 lldb: Fix dependency cycle between out and lib outputs (#380775) 2025-02-11 16:53:22 +05:30
Tristan Ross
e135e7f1ae llvmPackages_git: 21.0.0-unstable-2025-02-01 -> 21.0.0-unstable-2025-02-10 2025-02-11 12:18:26 +01: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
R. Ryantm
db981947e3 llvmPackages_18.lldbPlugins.llef: 1.2.0 -> 1.2.1 2025-02-01 02:48:34 +00:00
misuzu
2ea18519ba llvmPackages.openmp: fix cross build (#375277) 2025-01-29 21:54:37 +02:00
Alyssa Ross
35febc093c Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/by-name/ha/harper/package.nix
2025-01-28 13:29:32 +01:00
Peter Waller
7f84ec2011 llvmPackages_git: 20.0.0-git-2024-12-17 -> 20.0.0-git-2025-01-25
* Drop patches applied upstream.
* Fix polly patch for upstream changes.

Signed-off-by: Peter Waller <p@pwaller.net>
2025-01-28 10:43:53 +01:00
Emily
8b9a57c1a9 llvmPackages: fix broken symlink in mkExtraBuildCommandsBasicRt 2025-01-27 01:30:04 +00:00
Emily
bba2501df8 Revert "llvmPackages.tblgen: add missing lldb-tblgen"
Breaks Darwin bootstrap:

    CMake Error at /tmp/nix-build-llvm-tblgen-19.1.7.drv-0/llvm-tblgen-src-19.1.7/lldb/test/CMakeLists.txt:197 (message):
      LLDB test suite requires libc++, but it is currently disabled.  Please add
      `libcxx` to `LLVM_ENABLE_RUNTIMES` or disable tests via
      `LLDB_INCLUDE_TESTS=OFF`.

It’s probably not too hard to fix but I don’t really understand the
details of this derivation and it’s blocking Darwin `stdenv` builds
with a few days to go until the next cycle, so reverting for now.

This reverts commit d175d8a4c5.
2025-01-26 23:44:51 +00:00
Patryk Sondej
d175d8a4c5 llvmPackages.tblgen: add missing lldb-tblgen 2025-01-24 14:37:42 +01:00
Tristan Ross
db2370ac6a llvmPackages_19: 19.1.6 -> 19.1.7 (#373937) 2025-01-23 08:17:33 -08:00
Austin Horstman
69ce331462 llvmPackages.lldbPlugins: drop llvm/clang rebuild (#366401) 2025-01-21 15:23:21 -06:00
FliegendeWurst
261db7efdc llvmPackages.openmp: fix cross build 2025-01-20 09:10:12 +01:00