Commit Graph

701 Commits

Author SHA1 Message Date
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
Emily
f470ea24b6 llvmPackages_14: drop 2025-09-14 19:03:24 +01:00
Emily
791fe23b63 llvmPackages_13: drop 2025-09-14 19:03:24 +01:00
Emily
9b8a66c3a4 llvmPackages_12: drop 2025-09-14 19:03:24 +01:00
Emily
d49413f1f4 llvmPackages: add comment for mistake 2025-09-14 19:03:24 +01:00
Emily
8f33b55254 llvmPackages: remove redundant comment 2025-09-14 19:03:24 +01:00
Emily
c3c8a4a05d llvmPackages: remove obsolete version conditionals 2025-09-14 19:03:24 +01:00
Emily
f7444c37db llvmPackages: remove unreferenced patches 2025-09-14 19:03:24 +01:00
Tristan Ross
ded560caff llvmPackages_{20,21,git}.compiler-rt: no fmv on aarch64 without libc
aarch64 FMV (Function MultiVersioning) is not available before the libc
is available. This causes issues while building with compiler-rt on
aarch64. By disabling FMV before the libc is available resolves missing
symbol errors.
2025-09-13 09:27:17 -07:00
Vladimír Čunát
a413106654 Merge branch 'master' into staging-next 2025-09-03 06:28:10 +02:00
Emily
d4a6f48bd4 llvmPackages_21: 21.1.0-rc3 -> 21.1.0 (#437137) 2025-09-03 01:21:08 +01:00
nixpkgs-ci[bot]
b4c4165f04 Merge master into staging-next 2025-09-02 18:04:47 +00:00
Weijia Wang
3f40fd6c2b llvmPackages.llvm: drop a test on loongarch64 (#426088) 2025-09-02 15:06:43 +02:00
Tristan Ross
afd965280e llvmPackages_21.libc: fix building 2025-09-01 12:09:11 -07:00
Vladimír Čunát
d95b37aeac Merge branch 'staging' into staging-next 2025-08-30 17:06:43 +02:00
K900
de74f9caf0 Revert "stdenv: Add CPE fields to meta" 2025-08-30 09:29:43 +03:00
K900
e4f14776e7 Merge remote-tracking branch 'origin/staging-next' into staging 2025-08-30 09:19:01 +03:00
blenderfreaky
f86a07aba8 llvmPackages.libclc: replace lib.optional with lib.optionals 2025-08-29 21:45:56 +02:00
blenderfreaky
fd261cb094 llvmPackages_{20,21}.libclc: reenable and update patches 2025-08-29 21:45:56 +02:00
Yuriy Taraday
b0ce3dc09f stdenv: Add CPE fields to meta
Add `identifiers` attr to `meta` attribute with following attrs:
* `cpe` with the full CPE string when available
* `possibleCPEs` with the list of potential CPEs when not all
  information is provided
* `cpeParts` with the destructured CPE string, allowing to override it
  whenever needed
* `v1` attribute set with `cpe` and `cpeParts` from above and a
  guarantee of a backwards-compatible interface

Related issue: https://github.com/NixOS/nixpkgs/issues/354012
2025-08-29 15:40:03 +02:00
nixpkgs-ci[bot]
b4d7d83861 Merge staging-next into staging 2025-08-27 18:06:13 +00:00
Tristan Ross
2e8a2ab9e3 llvmPackages_git: 22.0.0-unstable-2025-08-17 -> 22.0.0-unstable-2025-08-24 2025-08-27 19:22:20 +02:00
Peder Bergebakken Sundt
387c44658f treewide: remove unused ... from package lambdas
located with `rg '^ *\.\.\.$' -tnix -l pkgs | xargs grep @ -L | grep -E '/(default|package)\.nix$'`
2025-08-27 17:40:18 +02:00
nixpkgs-ci[bot]
be84761ecf Merge staging-next into staging 2025-08-25 00:18:14 +00:00
Weijia Wang
053accab73 llvmPackages_21.lldbPlugins.llef: 1.2.1 -> 2.0.0 (#432042) 2025-08-24 20:09:33 +02:00
Vladimír Čunát
7f3ba72e24 Merge branch 'master' into staging 2025-08-23 11:39:22 +02:00
K900
e9a7500b70 Merge remote-tracking branch 'origin/master' into staging-next 2025-08-23 09:24:59 +03:00
acture
8c68eb9711 flang: init at 20.x 2025-08-22 20:16:20 +02:00
R. Ryantm
7bc86a44d0 llvmPackages_21.lldbPlugins.llef: 1.2.1 -> 2.0.0 2025-08-08 15:58:52 +00:00
Emily
cbe92242d0 llvmPackages.tblgen: only install the tools we use
Otherwise we install a weird `update_core_linalg_named_ops.sh`
maintainer script that refers to the build directory.

There are explicit install targets for some of these and probably
better ways we could install the others, but the Clang derivation
also just explicitly copies a bunch of them, so meh.
2025-08-05 19:25:19 +01:00
nixpkgs-ci[bot]
a482dd935d Merge staging-next into staging 2025-07-30 18:07:01 +00:00
Alyssa Ross
cfb6649fa7 llvmPackages: drop libclc attributes that error
libclc requires a compatible version of spirv-llvm-translator.  If we
don't have such a version, we get an eval error.  This means that
OfBorg builds of llvmPackages sets where libclc is unavailable will
produce an eval error, which is very confusing.  To fix this, restrict
the libclc attribute to LLVM versions where it actually exists.

Link: https://github.com/NixOS/nixpkgs/pull/414615#issuecomment-3126935312
2025-07-30 14:27:27 +02:00
misuzu
dc6b7b62b8 llvmPackages_20.llvm: always apply riscv64-specific patch 2025-07-29 14:23:20 +02:00
misuzu
a1f4939394 llvmPackages_20.llvm: fix test failure on riscv64 2025-07-29 14:01:10 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
mivorasu
1e377fedf7 treewide: strip trailing punctuation from description strings 2025-07-22 19:09:42 +00:00
Tristan Ross
cfff3ec44a llvmPackages_{21: init from 21.1.0-rc1,git: 21.0.0-unstable-2025-07-12 -> 22.0.0-unstable-2025-07-17} (#426014) 2025-07-20 20:31:45 -07:00
Greg Hellings
33e9d4f3c0 libunwind: fix dangling symlink errors
Windows ucrt for aarch64 crossPkgs fail building because of the dangling
symlinks this code introduces
2025-07-19 18:17:08 +02:00
Weijia Wang
9be70d9ad1 llvmPackages.llvm: drop a test on loongarch64 2025-07-19 18:09:20 +02:00
Tristan Ross
a041bf2656 llvmPackages_{21: init from 21.1.0-rc1,git: 21.0.0-unstable-2025-07-12 -> 22.0.0-unstable-2025-07-17} 2025-07-17 14:41:42 -07:00
Peter Collingbourne
8dc663ea18 llvmPackages.clang: embed resource directory in Clang libraries
When Clang is statically linked against other programs they are unable to
find the headers in Clang's resource directory. Typically the resource
directory is found by searching a path relative to argv[0] but this
would only really work for Clang itself due to each binary having a
separate prefix (and not in Nix because of the full resource directory
being split between multiple derivations and assembled in the wrapper).

Because users of Clang as a library typically only need include in order
for parsing to succeed, let's set that as the resource directory. The LLVM
patch to make this work was sent upstream in llvm/llvm-project#145996,
I intend to land it upstream and drop it from this PR.
2025-07-02 10:19:33 +02:00
Peter Waller
8f10f4f469 llvmPackages.libunwind: condition doFakeLibgcc on !stdenv.hostPlatform.isStatic
Since #380683, broken symlinks prevent the package from building on
pkgsStatic.pkgsLLVM.

So far as I know, isStatic builds don't have shared objects, so don't
emit these broken symlinks for them.

Signed-off-by: Peter Waller <p@pwaller.net>
2025-06-16 21:23:26 +01:00
K900
3b9cc44907 llvmPackages.clang: only build debug info on 64-bit compilers
32-bit compilers cannot handle this and explode.
2025-06-09 20:28:11 +03:00
Tristan Ross
5c371589e4 llvmPackages_20: 20.1.5 -> 20.1.6 2025-06-08 21:23:10 +03:00
nixpkgs-ci[bot]
13b51cfb12 Merge staging-next into staging 2025-06-06 19:33:08 +00:00
nixpkgs-ci[bot]
4339ec5da6 Merge master into staging-next 2025-06-06 19:32:04 +00:00
K900
1867adb235 Revert "llvmPackages_20: 20.1.5 -> 20.1.6" 2025-06-06 22:30:16 +03:00