Commit Graph

631 Commits

Author SHA1 Message Date
Tristan Ross
71a22894ec llvmPackages_{12,13,14,15,16,17,18,19,20,git}.libcxx: drop basename 2025-04-02 17:12:39 +02:00
Tristan Ross
de5cd17158 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.libcxx: use final attrs instead of rec 2025-04-02 17:12:39 +02:00
Tristan Ross
e7e65eb0ab llvmPackages_{12,13,14,15,16,17,18,19,20,git}.libcxx: use lib.cmake functions 2025-04-02 17:12:39 +02:00
Tristan Ross
80f5345be0 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.lld: nixfmt 2025-04-02 17:09:47 +02:00
Tristan Ross
436e809489 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.lld: use lib.cmake functions 2025-04-02 17:09:47 +02:00
Tristan Ross
c06d7d83dd llvmPackages_{12,13,14,15,16,17,18,19,20,git}.lld: move post patch 2025-04-02 17:09:47 +02:00
Tristan Ross
3deb18034c llvmPackages_{12,13,14,15,16,17,18,19,20,git}.lld: move src 2025-04-02 17:09:47 +02:00
Tristan Ross
f5b5156596 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.lld: move pname 2025-04-02 17:09:47 +02:00
Tristan Ross
7177357b5e llvmPackages_{12,13,14,15,16,17,18,19,20,git}.lld: use final attrs instead of rec 2025-04-02 17:09:47 +02:00
Tristan Ross
219e1bbd02 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.openmp: nixfmt 2025-04-02 16:20:20 +02:00
Tristan Ross
d07d21818b llvmPackages_{12,13,14,15,16,17,18,19,20,git}.openmp: use lib.cmake functions 2025-04-02 16:20:20 +02:00
Tristan Ross
acfb171686 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.openmp: condense native build inputs 2025-04-02 16:20:20 +02:00
Tristan Ross
b6c57aadc7 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.openmp: move src 2025-04-02 16:20:20 +02:00
Tristan Ross
8e716103ee llvmPackages_{12,13,14,15,16,17,18,19,20,git}.openmp: move pname 2025-04-02 16:20:20 +02:00
Tristan Ross
7032a9014b llvmPackages_{12,13,14,15,16,17,18,19,20,git}.openmp: use final attrs instead of rec 2025-04-02 16:20:20 +02:00
Tristan Ross
3d9f74651d llvmPackages_{12,13,14,15,16,17,18,19,20,git}.libclc: move into libclc directory 2025-04-02 14:44:58 +02:00
Tristan Ross
464d1bd94a llvmPackages_{12,13,14,15,16,17,18,19,20,git}.libclc: use final attrs instead of rec 2025-04-02 14:44:58 +02:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Tristan Ross
c599ce6eb7 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.clang: nixfmt 2025-03-30 19:07:03 +02:00
Tristan Ross
dffb86fd08 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.clang: no toplevel let 2025-03-30 19:07:03 +02:00
Tristan Ross
e3c3b5611b llvmPackages_{12,13,14,15,16,17,18,19,20,git}.clang: drop rec 2025-03-30 19:07:03 +02:00
Tristan Ross
8ba1fdd4d0 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.clang: condense 2025-03-30 19:07:03 +02:00
Tristan Ross
f9de5019a8 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.clang: move pname 2025-03-30 19:07:03 +02:00
Tristan Ross
0d8556f352 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.clang: move env 2025-03-30 19:07:03 +02:00
Tristan Ross
bd63121c71 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.clang: move src 2025-03-30 19:07:03 +02:00
Tristan Ross
a5267c9945 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.clang: use lib.cmake functions 2025-03-30 19:07:03 +02:00
Tristan Ross
5e51e2645a llvmPackages_{12,13,14,15,16,17,18,19,20,git}.llvm: refactor (#389873) 2025-03-29 14:23:57 -07:00
nixpkgs-ci[bot]
46157d4433 Merge staging-next into staging 2025-03-28 06:05:33 +00:00
John Ericson
e91a742511 llvmPackages.libunwind: fix mingw build problem (#379996) 2025-03-27 20:49:33 -04:00
Tristan Ross
8b21004780 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.llvm: nixfmt 2025-03-27 06:57:00 -07:00
Tristan Ross
79c2c1e116 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.llvm: dedupe 2025-03-27 06:57:00 -07:00
Tristan Ross
447608aba2 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.llvm: move shortVersion 2025-03-27 06:56:57 -07:00
Tristan Ross
468bfe0f09 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.llvm: move pname 2025-03-27 06:56:23 -07:00
Tristan Ross
43b8df024a llvmPackages_{12,13,14,15,16,17,18,19,20,git}.llvm: move src 2025-03-27 06:56:22 -07:00
Tristan Ross
6f1e95c698 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.llvm: move debugVersion 2025-03-27 06:56:22 -07:00
Tristan Ross
e1509934aa llvmPackages_{12,13,14,15,16,17,18,19,20,git}.llvm: move doCheck 2025-03-27 06:56:09 -07:00
Tristan Ross
d3b3d557f3 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.llvm: use lib.cmake functions 2025-03-26 21:12:07 -07:00
Tristan Ross
4d4a2f8b14 llvmPackages_20.libc-full: fix building (#385706) 2025-03-26 20:32:27 -07:00
Tristan Ross
e5a8e186e0 llvmPackages_git: 21.0.0-unstable-2025-03-16 -> 21.0.0-unstable-2025-03-23
Add `libc` source to `llvm.src` so `llvm-gpu-loader` builds.
2025-03-25 10:56:06 +01:00
Tristan Ross
9f9526053a llvmPackages_20.libc: enable scudo & link Scrt1 2025-03-24 06:55:06 -07:00
Tristan Ross
3b56cf6ff8 llvmPackages.clangNoLibcNoRt: drop nostartfiles flag
`-nostartfiles` used to be needed for pkgsLLVM, causes problems so don't
include it.
2025-03-24 06:54:40 -07:00
Tristan Ross
5a72bdd926 mlir: emit libMLIR.so for not-static host platforms (#390756) 2025-03-21 14:34:01 -07:00
stove
e3f1e70eaf mlir: emit libMLIR.so for not-static host platforms
mlir piggybacks onto LLVM_BUILD_LLVM_DYLIB for determining if a
shared libMLIR.so is emitted. This also fixes build failures
in MLIR 20+ where tablegen'd files aren't generated.

In file included from /build/mlir-src-21.0.0-unstable-2025-03-09/mlir/include/mlir/IR/UseDefLists.h:16,
                 from /build/mlir-src-21.0.0-unstable-2025-03-09/mlir/include/mlir/IR/Value.h:17,
                 from /build/mlir-src-21.0.0-unstable-2025-03-09/mlir/include/mlir/IR/BlockSupport.h:16,
                 from /build/mlir-src-21.0.0-unstable-2025-03-09/mlir/include/mlir/IR/OperationSupport.h:18,
                 from /build/mlir-src-21.0.0-unstable-2025-03-09/mlir/include/mlir/IR/Dialect.h:17,
                 from /build/mlir-src-21.0.0-unstable-2025-03-09/mlir/tools/mlir-lsp-server/mlir-lsp-server.cpp:9:
/build/mlir-src-21.0.0-unstable-2025-03-09/mlir/include/mlir/IR/Location.h:145:10: fatal error: mlir/IR/BuiltinLocationAttributes.h.inc: No such file or directory
  145 | #include "mlir/IR/BuiltinLocationAttributes.h.inc"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
2025-03-20 17:46:53 -07:00
Tristan Ross
bf31adf9ad llvmPackages_20.libc-full: fix infinite recursion with pkgsLLVMLibc in cmake & python3 2025-03-20 08:04:28 -07:00
Tristan Ross
14647cefc0 llvmPackages_20.libc-full: fix building 2025-03-20 08:03:04 -07:00
Tristan Ross
f18673aa02 llvmPackages_20: 20.1.0-rc3 -> 20.1.1 2025-03-20 10:06:05 +01:00
Ryan Lahfa
33f80f08d0 lib.licenses.asl20-llvm: replace with separate llvm-exception (#390638) 2025-03-19 18:36:28 +01:00
nikstur
02843300bb lib.licenses.asl20-llvm: replace with separate llvm-exception
This essentially reverts 7ce8e7c4cf

asl20-llvm does not produce a valid SPDX ID, it produces a valid SPDX
Expression. However, this is not what the spdxId field promises.

This is relevant because we cannot produce valid SBOMs (e.g. CycloneDX)
using this field as the schemas for these SBOMs check that the IDs are
valid.

This change leaves us with consistently valid SPDX IDs at the cost
of slightly less convenience.
2025-03-17 13:05:21 +01:00
Tristan Ross
3cbbfb1795 pkgs/development/compilers/llvm/common/default.nix: move patches into… (#389658)
pkgs/development/compilers/llvm/common/default.nix: move patches into patches.nix
2025-03-16 23:36:53 -04:00
Tristan Ross
8e14745a02 llvmPackages_17.{clang,tblgen}: fix builds on aarch64 (#381163) 2025-03-13 13:42:34 -07:00