Commit graph

115 commits

Author SHA1 Message Date
Tristan Ross
11bcc51e07
Revert "Revert "llvmPackages_20: 20.1.5 -> 20.1.6"" 2025-06-08 20:27:25 -07:00
K900
1867adb235
Revert "llvmPackages_20: 20.1.5 -> 20.1.6" 2025-06-06 22:30:16 +03:00
Tristan Ross
1f423f1276
llvmPackages_20: 20.1.5 -> 20.1.6 (#412518) 2025-06-06 11:32:24 -07:00
Tristan Ross
154cedf1f4 llvmPackages_git: 21.0.0-unstable-2025-05-25 -> 21.0.0-unstable-2025-06-06 2025-06-05 15:27:53 +02:00
Tristan Ross
f9460c7b56
llvmPackages_20: 20.1.5 -> 20.1.6 2025-05-30 16:25:03 -07:00
Tristan Ross
c579bdd6d5 llvmPackages_git: 21.0.0-unstable-2025-05-18 -> 21.0.0-unstable-2025-05-25 2025-05-30 16:34:38 +02:00
Tristan Ross
06fec0cf1f
llvmPackages_20: 20.1.4 -> 20.1.5 (#407294) 2025-05-26 11:49:43 -07:00
Tristan Ross
8f55ad2577 llvmPackages_git: 21.0.0-unstable-2025-05-11 -> 21.0.0-unstable-2025-05-18 2025-05-20 12:30:30 +02:00
Tristan Ross
bc8ee2f851
llvmPackages_20: 20.1.4 -> 20.1.5 2025-05-17 06:29:06 -07:00
Tristan Ross
01c978969c llvmPackages_git: 21.0.0-unstable-2025-05-04 -> 21.0.0-unstable-2025-05-11 2025-05-12 16:12:12 +02:00
Tristan Ross
b168f96287
llvmPackages_git: 21.0.0-unstable-2025-04-27 -> 21.0.0-unstable-2025-… (#404271) 2025-05-11 22:02:37 -07:00
Philip Taron
5ec9db8430
llvmPackages_20: 20.1.3 -> 20.1.4 (#402959) 2025-05-05 11:09:02 -07:00
Tristan Ross
b21c692cd6
llvmPackages_git: 21.0.0-unstable-2025-04-27 -> 21.0.0-unstable-2025-05-04 2025-05-04 21:04:35 -07:00
Tristan Ross
8f6cc85e83
llvmPackages_20: 20.1.3 -> 20.1.4 2025-04-29 19:28:36 -07:00
Tristan Ross
17ef8f50b7
llvmPackages_git: 21.0.0-unstable-2025-04-13 -> 21.0.0-unstable-2025-04-27 2025-04-27 22:37:41 -07:00
Tristan Ross
be2c67ee44 llvmPackages_20: 20.1.2 -> 20.1.3 2025-04-16 09:09:53 +02:00
Tristan Ross
76d386bfbe llvmPackages_git: 21.0.0-unstable-2025-04-06 -> 21.0.0-unstable-2025-04-13 2025-04-14 07:20:10 +02:00
Tristan Ross
70ab722286 llvmPackages_git: 21.0.0-unstable-2025-03-30 -> 21.0.0-unstable-2025-04-06 2025-04-08 11:20:17 +02:00
Tristan Ross
50bfb2f2f8 llvmPackages_20: 20.1.1 -> 20.1.2 2025-04-02 18:18:48 +02:00
Tristan Ross
88b2709b78 llvmPackages_git: 21.0.0-unstable-2025-03-23 -> 21.0.0-unstable-2025-03-30 2025-04-02 17:10:24 +02: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
f18673aa02 llvmPackages_20: 20.1.0-rc3 -> 20.1.1 2025-03-20 10:06:05 +01:00
Tristan Ross
06adae4098 llvmPackages_git: 2025-03-09 -> 2025-03-16 2025-03-19 15:50:33 +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
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
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
Tristan Ross
5cdc356732 llvmPackages_20: 20.1.0-rc2 -> 20.1.0-rc3 2025-02-27 10:15:48 +01:00
Tristan Ross
8949380789 llvmPackages_git: 2025-02-17 -> 2025-02-23 2025-02-24 13:57:07 +01:00
Tristan Ross
fbf4124ab5 llvmPackages_git: 21.0.0-unstable-2025-02-10 -> 21.0.0-unstable-2025-02-17 2025-02-18 09:36:59 +01:00
Tristan Ross
51c0eeb414 llvmPackages_20: 20.1.0-rc1 -> 20.1.0-rc2 2025-02-14 09:36:39 +01:00
Tristan Ross
e135e7f1ae llvmPackages_git: 21.0.0-unstable-2025-02-01 -> 21.0.0-unstable-2025-02-10 2025-02-11 12:18:26 +01:00
Tristan Ross
06f4e972ef
llvmPackages: git -> 21.0.0, init 20.1.0-rc1 2025-02-06 20:25:32 -08:00
Alyssa Ross
35febc093c
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/by-name/ha/harper/package.nix
2025-01-28 13:29:32 +01:00
Peter Waller
7f84ec2011 llvmPackages_git: 20.0.0-git-2024-12-17 -> 20.0.0-git-2025-01-25
* Drop patches applied upstream.
* Fix polly patch for upstream changes.

Signed-off-by: Peter Waller <p@pwaller.net>
2025-01-28 10:43:53 +01:00
Tristan Ross
db2370ac6a
llvmPackages_19: 19.1.6 -> 19.1.7 (#373937) 2025-01-23 08:17:33 -08:00
Tristan Ross
e427a1d3bb
llvmPackages.libc: init at 20.0.0-unstable-2024-12-08 (#363449) 2025-01-19 19:42:06 -08:00
Tristan Ross
25b03f7b44
llvmPackages_19: 19.1.6 -> 19.1.7 2025-01-14 21:38:12 -08:00
Tristan Ross
37409b3b1a
llvmPackages_git: 20.0.0-unstable-2024-11-26 -> 20.0.0-unstable-2024-12-17 2024-12-24 18:39:08 -08:00
K900
7661b4ac55 Merge remote-tracking branch 'origin/staging-next' into staging 2024-12-19 12:47:54 +03:00
github-actions[bot]
dd1d7cff2b
Merge master into staging-next 2024-12-18 18:04:46 +00:00
Tristan Ross
9c40bef08a llvmPackages_git: 20.0.0-git-2024-10-07 -> 20.0.0-git-2024-11-25 2024-12-18 16:44:57 +01:00
Reno Dakota
81bf89d5e8
llvmPackages_19: 19.1.5 -> 19.1.6
https://github.com/llvm/llvm-project/releases/tag/llvmorg-19.1.6
https://discourse.llvm.org/t/llvm-19-1-6-released/83723
2024-12-17 21:18:50 -08:00
Reno Dakota
b25d66d263
llvmPackages_19: 19.1.4 -> 19.1.5
https://github.com/llvm/llvm-project/releases/tag/llvmorg-19.1.5
2024-12-04 15:37:02 +00:00
sternenseemann
f0f66c41d4
llvmPackages_12: build from monorepo source
As mentioned in #305146, keeping LLVM 12 is a source of pain because it
is the only version to be built from individual release tarball instead
of the LLVM monorepo. This commit makes LLVM 12 start from the monorepo
as well, simplifying all common LLVM expressions in the process.

With #347887, some quirks in the expressions for LLVM <14 were ironed
out, so building LLVM through from the monorepo is quite simple now.

- Most expressions only required minor changes, mostly removing the
  special casing for `sourceRoot`.

- The patch lists from llvm/12/default.nix were ported to
  common/default.nix. This only required a few extra conditionals which
  could be reduced via a rebuild also involving other LLVM versions.
  Outstanding tasks of little urgency have been noted in TODO comments.
  I have verified that the patch lists stay the same for all packages
  except LLVM where merely the order changes. An extra set of eyes
  is appreciated, of course.

- clang: The expression was reworked to use the same symlink location
  for clang-tools-extra for all versions including LLVM 12. This
  required adjusting the ad hoc patching of the clangd cmake files
  slightly.

- libunwind: We no longer need to make the libcxx sources available
  manually. We can rely on the monorepo source instead.

- lld: We no longer need to make the libunwind sources available manually.

- llvm: We no longer need to make the polly sources available manually

- On Darwin, we need to bypass CMake's C++ compiler for libcxx and
  libunwind now. It isn't a 100% clear why, probably because we've
  started to use Darwin's bootstrapStdenv for libcxx in the common
  expression compared to LLVM 12 on master [1].
  The reordering of flags for wasm causes a rebuild for some packages
  like firefox, but this should be tolerable on staging.

[1]: 665ebfb253/pkgs/development/compilers/llvm/12/default.nix (L392-L430)

(cherry picked from commit ee9eacf23e)
(cherry picked from commit c4e9f17ef9)
2024-11-30 15:11:09 +01:00
Tristan Ross
7c18ea34a2
llvmPackages: Make targetLlvmLibraries overridable (#355001) 2024-11-25 07:25:49 -08:00
Tristan Ross
54300c25d8
llvmPackages_19: 19.1.3 -> 19.1.4 2024-11-19 18:30:54 -08:00
Peter Waller
51ba14b167 llvmPackages: Make targetLlvmLibraries overridable
Pull #320261 introduced the possibility to consistently override
dependencies within an llvm package set. This is useful for development
and testing exotic configurations.

Go one step further and enable overriding targetLlvmLibraries.

This makes it possible to write an overlay such as:

```nix
overlays = [
  (self: super: {
    llvmPackages = super.llvmPackages.override (prev: {
      targetLlvmLibraries = super.targetPackages.llvmPackages.libraries // {
        compiler-rt = super.targetPackages.llvmPackages.libraries.compiler-rt.override {
          ...
        }
      };
    });
  })
];
```

... where the overridden compiler-rt will be used in a pkgsLLVM build.

As a straw man, I've done the minimally invasive thing to the code
structure: `targetLlvmLibraries` is not an explicitly named parameter
for llvmPackages; but it is available in `packageSetArgs` if passed.
This makes it slightly less discoverable, but this seems like a
reasonable tradeoff considered that modifying this would be a fairly
advanced/esoteric thing to need to do.

In some ways it would be better to have as an explicit parameter with a
default, but the obvious thing won't work because the default needs to
be a non-trivial expression. Potentially we could instead have it as a
defaulted parameter with the value of 'null', and if it's null, then
compute the current thing.

Signed-off-by: Peter Waller <p@pwaller.net>
2024-11-10 14:31:35 +00:00
Reno Dakota
3cd45d08ee
llvmPackages_19: 19.1.1 -> 19.1.3
https://github.com/llvm/llvm-project/releases/tag/llvmorg-19.1.3
2024-11-06 15:49:20 -08:00
Tristan Ross
ee04df014d
llvmPackages_git: 20.0.0-git-2024-09-29 -> 20.0.0-git-2024-10-07 2024-10-07 07:46:03 -07:00
Tristan Ross
8fb95f8b0d
llvmPackages_19: 19.1.0 -> 19.1.1 2024-10-01 06:41:48 -07:00