Commit Graph

2326 Commits

Author SHA1 Message Date
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
Tristan Ross
06adae4098 llvmPackages_git: 2025-03-09 -> 2025-03-16 2025-03-19 15:50:33 +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
nixpkgs-ci[bot]
f6e560e4b0 Merge master into staging-next 2025-03-11 12:06:05 +00:00
Tristan Ross
9668ed5584 llvmPackages_git: 21.0.0-unstable-2025-03-02 -> 21.0.0-unstable-2025-03-09 2025-03-11 11:07:04 +01:00
zvolin
1ab394e053 llvmPackages_17.{clang,tblgen}: fix builds on aarch64 2025-03-09 11:53:33 +01:00
K900
84cbffea41 Merge remote-tracking branch 'origin/master' into staging-next 2025-03-07 17:51:46 +03:00
Tristan Ross
decbece965 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.llvm: move patches out of common 2025-03-07 14:18:48 +01:00
Tristan Ross
2b28900a1f llvmPackages_{12,13,14,15,16,17,18,19,20,git}.lldb: move patches out of common 2025-03-07 14:18:28 +01:00
Tristan Ross
394ef62fb0 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.libcxx: move patches out of common 2025-03-07 14:18:04 +01:00
Tristan Ross
c330ebeb4f llvmPackages_{12,13,14,15,16,17,18,19,20,git}.compiler-rt: move patches out of common 2025-03-07 14:17:38 +01:00
Tristan Ross
946113bbf7 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.openmp: move patches out of common 2025-03-07 14:16:58 +01:00
Tristan Ross
1a148262f4 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.libunwind: move patches out of common 2025-03-07 14:16:40 +01:00
Tristan Ross
20e4f33f16 llvmPackages_{12,13,14,15,16,17,18,19,20,git}.lld: move patches out of common 2025-03-07 14:16:16 +01:00
Tristan Ross
e85abae0ae llvmPackages_{12,13,14,15,16,17,18,19,20,git}.clang: move patches out of common 2025-03-07 14:15:33 +01:00
Tristan Ross
41d68f672d llvmPackages_{19,20,git}.bolt: move patches out of common 2025-03-07 14:15:11 +01:00
nixpkgs-ci[bot]
d0cbf7399d Merge master into staging-next 2025-03-06 00:15:09 +00:00
Tristan Ross
4d293acdbf llvmPackages_git: 21.0.0-unstable-2025-02-23 -> 21.0.0-unstable-2025-… (#386602) 2025-03-05 11:57:29 -08:00
nixpkgs-ci[bot]
fc2e8cc675 Merge master into staging-next 2025-03-04 12:06:11 +00:00
Gaétan Lepage
d7dc48f3d1 llvm: also apply GOTOffsetMap to versions 15 and 16 (#384367) 2025-03-04 08:38:49 +01:00
Gaetan Lepage
6bb73a8872 llvm: also apply GOTOffsetMap to versions 15 and 16 2025-03-03 10:18:37 +01:00
Tristan Ross
41d25838b3 llvmPackages_git: 21.0.0-unstable-2025-02-23 -> 21.0.0-unstable-2025-03-02 2025-03-02 23:22:01 -08:00