Commit Graph

2326 Commits

Author SHA1 Message Date
Alexander Bantyev
22ca96f3a9 various: add meta.identifier.cpeParts to a batch of packages
Co-Authored-By: Silvan Mosberger <silvan.mosberger@tweag.io>
2026-02-16 17:11:52 +01:00
nixpkgs-ci[bot]
33fe19d74d Merge staging-next into staging 2026-02-16 10:40:28 +00:00
nixpkgs-ci[bot]
3013e353b1 Merge master into staging-next 2026-02-16 10:39:48 +00:00
Alyssa Ross
47c2970804 llvmPackages_git: 23.0.0-unstable-2026-02-01 -> 23.0.0-unstable-2026-02-15 (#488577) 2026-02-16 07:54:54 +00:00
Tristan Ross
1504a30022 llvmPackages_git: 23.0.0-unstable-2026-02-08 -> 23.0.0-unstable-2026-02-15 2026-02-15 23:30:16 -08:00
Niklas Korz
98f82554c8 llvmPackages_22.llvm: skip empty environment test on darwin 2026-02-15 19:58:31 +01:00
nixpkgs-ci[bot]
5bbb1b1e97 Merge staging-next into staging 2026-02-15 18:08:20 +00:00
Martin Weinelt
b79da2786f Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/development/python-modules/bundlewrap/default.nix
	pkgs/development/python-modules/coverage/default.nix
	pkgs/development/python-modules/h5netcdf/default.nix
	pkgs/development/python-modules/hypothesis/default.nix
	pkgs/development/python-modules/numba/default.nix
	pkgs/development/python-modules/optype/default.nix
	pkgs/development/python-modules/setuptools-git-versioning/default.nix
	pkgs/development/python-modules/sphinx/default.nix
2026-02-15 16:17:41 +01:00
Alyssa Ross
67e23f7c95 llvmPackages*.bintools-unwrapped: set pname and version (#490414) 2026-02-14 15:40:33 +00:00
Moinak Bhattacharyya
9f63884d84 clang-tools: add python tools like clang-format-diff to clang-tools 2026-02-11 17:58:59 -06:00
Tristan Ross
be0a3d100c llvmPackages_22: 22.1.0-rc2 -> 22.1.0-rc3 2026-02-10 08:34:57 -08:00
Hythera
0bc058e5dc llvmPackages*.bintools-unwrapped: set pname and version 2026-02-09 10:17:56 +01:00
Tristan Ross
27088a4839 llvmPackages_git: 23.0.0-unstable-2026-02-01 -> 23.0.0-unstable-2026-02-08 2026-02-08 19:15:16 -08:00
Alba Mendez
f6f258efa1 compiler-rt: enable build of libatomic
LLVM stdenvs lack a set of `__atomic_*` routines that compilers
sometimes rely on, making it impossible to build certain C programs in
them. The reason we lack these routines is that we're using neither
compiler-rt's implementation of them (which was disabled by default a
long time ago) nor gcc's implementation (libatomic). See #391740 for a
more detailed explanation and an example of program that cannot be built.

Since no particular preference was expressed as to which approach
should be used to solve this, I'm going with LLVM's implementation
and recommended setup, which seems to be used also in AIX, Fuchsia
and Apple platforms. This consists of enabling a CMake flag,
`COMPILER_RT_BUILD_STANDALONE_LIBATOMIC`, which causes the routines to
be built and shipped in a separate DSO (placing them in a DSO instead
of `builtins.a` is needed for correctness, as it ensures the lock
section is unique in memory).

As with the other builtins, I'm symlinking this DSO to `libatomic.so` so
that downstream packages don't need specific/complicated logic for LLVM.

Other details:
- For static platforms, since no dynamic linking is expected at all, it
  should be correct to ship the symbols in `builtins.a`.
  So, that's what I'm doing in those cases.
- Since v19, compiler-rt allows using pthread locks rather than ad-hoc
  ones for the atomic routines. Since this plays better with
  instrumentation, I'm enabling this whenever libc is available.
- It would be nice to put the DSO in a separate output / derivation, so
  that the rest of compiler-rt isn't pulled into the runtime closure,
  but it isn't high prio since compiler-rt doesn't pull in dependencies
  other than libc, libc++ and unwinder.

Fixes: https://github.com/NixOS/nixpkgs/issues/311930
2026-02-08 10:27:57 +01:00
K900
e54474de39 Merge remote-tracking branch 'origin/staging-next' into staging 2026-02-02 16:05:02 +03:00
Tristan Ross
c93ed7837c llvmPackages_git: 23.0.0-unstable-2026-01-25 -> 23.0.0-unstable-2026-02-01 2026-02-01 20:20:18 -08:00
nixpkgs-ci[bot]
79424fc2c3 Merge staging-next into staging 2026-01-30 12:11:07 +00:00
nixpkgs-ci[bot]
7571022310 Merge master into staging-nixos 2026-01-28 18:10:10 +00:00
nixpkgs-ci[bot]
84026606ab Merge staging-next into staging 2026-01-28 18:09:20 +00:00
Yuxuan Shui
0273d9cedf clang-tools: use $C_INCLUDE_PATH for C includes
$CPATH is taken to mean the same thing as -I by clang, whereas
$C_INCLUDE_PATH is -isystem. Using $CPATH means tools like clangd will
generate warnings for problems in system headers, which is undesirable.

See llvm/llvm-project#154015
2026-01-28 13:08:37 +00:00
Yuxuan Shui
10b12020a8 clang-tools: don't include C++ include paths in $CPATH 2026-01-28 13:08:35 +00:00
nixpkgs-ci[bot]
e1c80e8e08 Merge master into staging-nixos 2026-01-28 00:21:17 +00:00
nixpkgs-ci[bot]
2eb9b17682 Merge staging-next into staging 2026-01-28 00:20:22 +00:00
Tristan Ross
8468f0bc84 llvmPackages_22: 22.1.0-rc1 -> 22.1.0-rc2 2026-01-27 09:45:50 -08:00
K900
3ac81a5564 Merge remote-tracking branch 'origin/staging-next' into staging 2026-01-26 21:15:56 +03:00
nixpkgs-ci[bot]
4f189086d0 Merge master into staging-nixos 2026-01-26 18:08:53 +00:00
Tristan Ross
101348b820 llvmPackages_git: 23.0.0-unstable-2026-01-18 -> 23.0.0-unstable-2026-01-25 2026-01-25 22:44:43 -08:00
Michael Daniels
006ecdbdeb treewide: fix typos (#479869) 2026-01-24 21:36:44 +00:00
nixpkgs-ci[bot]
1c44e537b3 Merge staging-next into staging 2026-01-23 18:07:39 +00:00
Alyssa Ross
26e396ff32 llvmPackages.lldbPlugins.llef: 2.2.1 -> 2.2.2 (#478082) 2026-01-23 14:18:19 +00:00
nixpkgs-ci[bot]
d47831ff2a Merge staging-next into staging 2026-01-22 18:07:50 +00:00
Fabián Heredia Montiel
82c1a79c43 Merge remote-tracking branch 'origin/master' into staging-next 2026-01-22 10:40:19 -06:00
Tristan Ross
68098c20d0 llvmPackages_22: init 22.1.0-rc1 2026-01-19 22:34:35 -08:00
Tristan Ross
d82b9e69d9 llvmPackages_git: 22.0.0-unstable-2026-01-11 -> 23.0.0-unstable-2026-01-18 2026-01-18 20:57:05 -08:00
nixpkgs-ci[bot]
d3d93e2e5b Merge staging-next into staging 2026-01-19 00:20:42 +00:00
nixpkgs-ci[bot]
d0d5baad5f Merge master into staging-next 2026-01-19 00:20:04 +00:00
Alyssa Ross
a823460f74 llvmPackages_git: 22.0.0-unstable-2025-12-28 -> 22.0.0-unstable-2026-… (#477055) 2026-01-18 19:01:55 +00:00
Alyssa Ross
b01f305fe4 llvmPackages.libllvm: clean up rebuild avoidance (#479122) 2026-01-15 08:41:27 +00:00
Ben Siraphob
c7e10647ea treewide: fix typos 2026-01-13 14:45:11 -05:00
Tristan Ross
9b1d6cb074 llvmPackages_git: 22.0.0-unstable-2026-01-04 -> 22.0.0-unstable-2026-01-11 2026-01-11 21:10:49 -08:00
Vladimír Čunát
7102b81df0 llvmPackages.libllvm: disable getMacOSHostVersion on LLVM < 21 (#478778) 2026-01-11 17:51:20 +00:00
Emily
0ecdff6a06 llvmPackages.libllvm: clean up rebuild avoidance 2026-01-10 18:55:55 +00:00
Emily
e44c4915d8 llvmPackages.libllvm: disable getMacOSHostVersion on LLVM < 21
This is breaking Hydra builds. The old comment about the CoreFoundation
framework is no longer relevant now that we always use the system
frameworks.
2026-01-10 18:34:18 +00:00
Emily
1865ae4be0 llvmPackages.libllvm: deduplicate Darwin patches 2026-01-10 18:32:40 +00:00
R. Ryantm
a57d1a8367 llvmPackages.lldbPlugins.llef: 2.2.1 -> 2.2.2 2026-01-08 14:13:52 +00:00
Stefan Frijters
099b274824 llvm: move LDFLAGS into env for structuredAttrs 2026-01-07 21:30:36 +01:00
nixpkgs-ci[bot]
1bab15e567 Merge staging-next into staging 2026-01-07 18:06:59 +00:00
Tristan Ross
28ff74f0b6 llvmPackages_git: 22.0.0-unstable-2025-12-28 -> 22.0.0-unstable-2026-01-04 2026-01-07 08:36:31 -08:00
Vladimír Čunát
9ab74f3ce3 glibc: 2.40-66 -> 2.42-47 (#379542) 2026-01-06 17:24:04 +00:00
Patryk Wychowaniec
09519744f1 clang-tools: add tests 2026-01-05 15:54:01 +02:00