Commit Graph

2326 Commits

Author SHA1 Message Date
K900
fb73ccd10d Merge remote-tracking branch 'origin/staging-next' into staging 2025-10-07 08:19:36 +03:00
Tristan Ross
f0d1b55145 llvmPackages_git: 22.0.0-unstable-2025-09-28 -> 22.0.0-unstable-2025-10-05 2025-10-06 09:56:47 -07:00
Wolfgang Walther
5e1f5b623b Merge branch 'staging-next' into staging 2025-10-05 11:40:56 +02:00
K900
e93c560b79 Merge remote-tracking branch 'origin/master' into staging-next 2025-10-05 12:17:08 +03:00
Wolfgang Walther
91a8fee3aa treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.
2025-10-05 10:52:03 +02:00
nixpkgs-ci[bot]
e23d356469 Merge staging-next into staging 2025-10-05 00:18:23 +00:00
Alyssa Ross
6f7816d63e llvmPackages.compiler-rt: clean up libxcrypt fix (#447574) 2025-10-04 20:12:01 +02:00
K900
f8d669f413 Merge remote-tracking branch 'origin/master' into staging-next 2025-10-04 21:10:21 +03:00
NAHO
c8d4dabc43 pkgs: remove optional builtins prefixes from prelude functions
Remove optional builtins prefixes from prelude functions by running:

    builtins=(
      abort
      baseNameOf
      break
      derivation
      derivationStrict
      dirOf
      false
      fetchGit
      fetchMercurial
      fetchTarball
      fetchTree
      fromTOML
      import
      isNull
      map
      null
      placeholder
      removeAttrs
      scopedImport
      throw
      toString
      true
    )

    fd \
      --type file \
      . \
      pkgs \
      --exec-batch sed --in-place --regexp-extended "
        s/\<builtins\.($(
          printf '%s\n' "${builtins[@]}" |
            paste --delimiter '|' --serial -
        ))\>/\1/g
      "

    nix fmt
2025-10-04 19:02:37 +02:00
nixpkgs-ci[bot]
d6ac0273cd Merge staging-next into staging 2025-10-01 00:19:21 +00:00
Alyssa Ross
4d44f8fa53 llvmPackages.compiler-rt: clean up libxcrypt fix
This is unnecessary since LLVM commit d7bead833631 ("[sanitizer]
Remove crypt and crypt_r interceptors"), included in LLVM 18, the
oldest version we still have in Nixpkgs.
2025-09-30 22:40:41 +02:00
K900
4999ae577c Merge remote-tracking branch 'origin/master' into staging-next 2025-09-30 21:47:55 +03:00
Alyssa Ross
10a4dec731 llvmPackages: clean up rebuild avoidance (#447071) 2025-09-30 17:32:57 +02:00
Alyssa Ross
05a384cfe2 llvmPackages.libunwind: condition doFakeLibgcc on !stdenv.hostPlatform.isStatic (#417354) 2025-09-30 15:30:28 +00:00
Luna
957d7fea18 llvmPackages: clean up rebuild avoidance 2025-09-30 08:25:32 -07:00
Luna
3a4c1a332b llvmPackages.lld: clean up rebuild avoidance 2025-09-30 08:25:32 -07:00
Luna
1c2e2696ce llvmPackages.lldb: clean up rebuild avoidance 2025-09-30 08:25:32 -07:00
Luna
11f69a77db llvmPackages.libunwind: clean up rebuild avoidance 2025-09-30 08:25:32 -07:00
Luna
43135fcdc6 llvmPackages.libcxx: clean up rebuild avoidance 2025-09-30 08:25:32 -07:00
Luna
636157636f llvmPackages.libllvm: clean up rebuild avoidance 2025-09-30 08:25:32 -07:00
Luna
a398b4e09f llvmPackages.libclang: clean up rebuild avoidance 2025-09-30 08:25:32 -07:00
nixpkgs-ci[bot]
3c90917fd5 Merge master into staging-next 2025-09-29 12:07:15 +00:00
Tristan Ross
35b7ec7f2d llvmPackages_21: 21.1.1 -> 21.1.2 2025-09-28 21:08:38 -07:00
Luna
f85d20b665 llvmPackages.openmp: clean up rebuild avoidance 2025-09-28 21:08:29 -07:00
Tristan Ross
0ca757481d llvmPackages_git: 22.0.0-unstable-2025-09-21 -> 22.0.0-unstable-2025-09-28 2025-09-28 20:18:16 -07:00
nixpkgs-ci[bot]
53a7808281 Merge master into staging-next 2025-09-27 00:15:16 +00:00
Luna
1f46266191 llvmPackages.libclang: add enableClangToolsExtra flag
rocmPackages needs a clang at runtime but has no need to include
clang-tidy.

The approach in this change avoids rebuilds and is messy, I will
make a followup in staging that changes this to more idiomatic
optionalString usage if this is merged
2025-09-25 18:45:39 -07:00
nixpkgs-ci[bot]
66a3cd62a8 Merge master into staging-next 2025-09-22 18:05:40 +00:00
Tristan Ross
5d18318605 llvmPackages_git: 22.0.0-unstable-2025-09-16 -> 22.0.0-unstable-2025-09-21 2025-09-21 23:30:11 -07:00
nixpkgs-ci[bot]
d78f38b07d Merge master into staging-next 2025-09-21 06:05:20 +00:00
Luna Nova
b84248686b llvmPackages.libllvm: add passthru.tests.withoutOptionalFeatures
This makes it easier to test optional flags still work.
Just adding one that disables multiple because the build is fairly slow and I don't think exercising
them all separately is going to be worth the extra build time.
2025-09-20 17:18:33 -07:00
Luna Nova
89baf53225 llvmPackages.libllvm: fix enablePolly = false
Setting enablePolly = false was failing due to trying to patch a file that doesn't exist

> applying patch /nix/store/gr73nf6sca9nyzl88x58y3qxrav04yhd-polly-lit-cfg-add-libs-to-dylib-path.patch
> can't find file to patch at input line 5
2025-09-20 17:10:29 -07:00
Emily
ebbad85342 Reapply "various: fix Scudo allocator due to LLVM update" (#444670) 2025-09-20 16:30:32 +01:00
Emily
85b124cedd Reapply "various: fix Scudo allocator due to LLVM update"
This reverts commit 5119cafc59.
2025-09-20 16:24:40 +01:00
K900
5119cafc59 Revert "various: fix Scudo allocator due to LLVM update" 2025-09-20 17:53:06 +03:00
Lisa Gnedt
753af06dab treewide: fix Scudo options
The commit 01e8f570c6 unpinned the
LLVM version, which led to the following warnings whenever Scudo
is loaded (basically whenever a command is started when used
system-wide):

Scudo WARNING: found 3 unrecognized flag(s):
    DeleteSizeMismatch=0:DeallocationTypeMismatch=0
    DeallocationTypeMismatch=0
    ZeroContents=1

According to the current Scudo documentation [1] the options are
now spelled differently. This commit keeps all existing options
and only updates the spelling.

[1] https://llvm.org/docs/ScudoHardenedAllocator.html

Reported-by: CUB3D <callumthom11@gmail.com>
2025-09-20 13:11:04 +02:00
nixpkgs-ci[bot]
47a124160c Merge staging-next into staging 2025-09-18 00:16:34 +00:00
Tristan Ross
e913d3fc49 llvmPackages_git: 22.0.0-unstable-2025-09-07 -> 22.0.0-unstable-2025-09-16 2025-09-16 10:57:47 -07:00
Emily
d51c4559ea llvmPackages.libclc: expose regardless of version (#443315) 2025-09-16 04:52:54 +01:00
Tristan Ross
d55bbdcbf5 llvmPackages_20.libclc: rebase use-default-paths patch 2025-09-15 20:33:57 -07:00
Emily
6ac21d552a llvmPackages.libclc: expose regardless of version
It doesn’t make sense to drop the attribute just because we
don’t yet have a `spirv-llvm-translator` that can work with it
yet, especially as they’ve been adding support for the native LLVM
SPIR‐V backend. It will now be marked as broken transitively if
`spirv-llvm-translator` is unavailable.
2025-09-16 02:52:43 +01:00
Emily
1b180b82af darwin.libcxx: (╯°□°)╯︵ ┻━┻ (#398727) 2025-09-15 19:43:28 +01:00
Randy Eckenrode
c4c5d25f13 pkgs/stdenv/darwin: switch to using the system libc++ by default 2025-09-15 19:24:08 +01:00
Randy Eckenrode
5ea679485d llvmPackages.clang: add systemLibcxxClang (primarily for Darwin) 2025-09-15 19:24:08 +01:00
nixpkgs-ci[bot]
6ec57b45c7 Merge staging-next into staging 2025-09-15 16:09:34 +00:00
Yuriy Taraday
dd12290517 Reapply "stdenv: Add CPE fields to meta"
This reverts commit de74f9caf0.
2025-09-15 17:25:11 +02:00
nixpkgs-ci[bot]
264b97ec67 Merge staging-next into staging 2025-09-15 13:52:03 +00:00
Emily
2dac87bbde llvmPackages_17: drop 2025-09-14 19:03:24 +01:00
Emily
a892ce396d llvmPackages_16: drop 2025-09-14 19:03:24 +01:00
Emily
77acbe1f9c llvmPackages_15: drop 2025-09-14 19:03:24 +01:00