Exclude x86_64-v2 kernels from hydra build

This commit is contained in:
Lan Tian 2026-05-20 19:04:25 -07:00
parent a7a6fddf37
commit 39786a04bf
No known key found for this signature in database
GPG Key ID: 04E66B6B25A0862B
2 changed files with 15 additions and 4 deletions

View File

@ -15,33 +15,40 @@ This repo provides the following kernel variants, consistent with the [upstream
└───x86_64-linux └───x86_64-linux
# Latest kernel, provides all LTO/CPU arch variants # Latest kernel, provides all LTO/CPU arch variants
├───linux-cachyos-latest ├───linux-cachyos-latest
├───linux-cachyos-latest-x86_64-v2 (no binary cache)
├───linux-cachyos-latest-x86_64-v3 ├───linux-cachyos-latest-x86_64-v3
├───linux-cachyos-latest-x86_64-v4 ├───linux-cachyos-latest-x86_64-v4
├───linux-cachyos-latest-zen4 ├───linux-cachyos-latest-zen4
├───linux-cachyos-latest-lto ├───linux-cachyos-latest-lto
├───linux-cachyos-latest-lto-x86_64-v2 (no binary cache)
├───linux-cachyos-latest-lto-x86_64-v3 ├───linux-cachyos-latest-lto-x86_64-v3
├───linux-cachyos-latest-lto-x86_64-v4 ├───linux-cachyos-latest-lto-x86_64-v4
├───linux-cachyos-latest-lto-zen4 ├───linux-cachyos-latest-lto-zen4
# LTS kernel, provides all LTO/CPU arch variants # LTS kernel, provides all LTO/CPU arch variants
├───linux-cachyos-lts ├───linux-cachyos-lts
├───linux-cachyos-lts-x86_64-v2 (no binary cache)
├───linux-cachyos-lts-x86_64-v3 ├───linux-cachyos-lts-x86_64-v3
├───linux-cachyos-lts-x86_64-v4 ├───linux-cachyos-lts-x86_64-v4
├───linux-cachyos-lts-zen4 ├───linux-cachyos-lts-zen4
├───linux-cachyos-lts-lto ├───linux-cachyos-lts-lto
├───linux-cachyos-lts-lto-x86_64-v2 (no binary cache)
├───linux-cachyos-lts-lto-x86_64-v3 ├───linux-cachyos-lts-lto-x86_64-v3
├───linux-cachyos-lts-lto-x86_64-v4 ├───linux-cachyos-lts-lto-x86_64-v4
├───linux-cachyos-lts-lto-zen4 ├───linux-cachyos-lts-lto-zen4
# Additional CachyOS kernel variants # Latest kernel with BORE scheduler, all LTO/CPU arch variants
├───linux-cachyos-bmq
├───linux-cachyos-bmq-lto
├───linux-cachyos-bore ├───linux-cachyos-bore
├───linux-cachyos-bore-x86_64-v2 (no binary cache)
├───linux-cachyos-bore-x86_64-v3 ├───linux-cachyos-bore-x86_64-v3
├───linux-cachyos-bore-x86_64-v4 ├───linux-cachyos-bore-x86_64-v4
├───linux-cachyos-bore-zen4 ├───linux-cachyos-bore-zen4
├───linux-cachyos-bore-lto ├───linux-cachyos-bore-lto
├───linux-cachyos-bore-lto-x86_64-v2 (no binary cache)
├───linux-cachyos-bore-lto-x86_64-v3 ├───linux-cachyos-bore-lto-x86_64-v3
├───linux-cachyos-bore-lto-x86_64-v4 ├───linux-cachyos-bore-lto-x86_64-v4
├───linux-cachyos-bore-lto-zen4 ├───linux-cachyos-bore-lto-zen4
# Additional CachyOS kernel variants
├───linux-cachyos-bmq
├───linux-cachyos-bmq-lto
├───linux-cachyos-deckify ├───linux-cachyos-deckify
├───linux-cachyos-deckify-lto ├───linux-cachyos-deckify-lto
├───linux-cachyos-eevdf ├───linux-cachyos-eevdf
@ -145,6 +152,8 @@ The two binary caches will be automatically suggested
I'm running a Hydra CI to build the kernels and push them to my Attic binary cache. You can see the build status here: <https://hydra.lantian.pub/jobset/lantian/nix-cachyos-kernel> I'm running a Hydra CI to build the kernels and push them to my Attic binary cache. You can see the build status here: <https://hydra.lantian.pub/jobset/lantian/nix-cachyos-kernel>
Note that due to build capacity limitations, I do not build kernel variants with `x86_64-v2` CPU optimization.
To manually use my binary cache, please add the following config: To manually use my binary cache, please add the following config:
```nix ```nix
@ -158,6 +167,8 @@ To manually use my binary cache, please add the following config:
This repo also has [Garnix CI](https://garnix.io) set up, and should work as long as the total build time is below the free plan threshold. This repo also has [Garnix CI](https://garnix.io) set up, and should work as long as the total build time is below the free plan threshold.
Garnix CI only builds the latest/LTO kernel variants, with/without LTO, and without any CPU specific optimizations.
[![built with garnix](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgarnix.io%2Fapi%2Fbadges%2Fxddxdd%2Fnix-cachyos-kernel)](https://garnix.io/repo/xddxdd/nix-cachyos-kernel) [![built with garnix](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgarnix.io%2Fapi%2Fbadges%2Fxddxdd%2Fnix-cachyos-kernel)](https://garnix.io/repo/xddxdd/nix-cachyos-kernel)
> If you see "all builds failed" from Garnix, it means I ran out of free plan's build time. > If you see "all builds failed" from Garnix, it means I ran out of free plan's build time.

View File

@ -150,7 +150,7 @@
}; };
hydraJobs = { hydraJobs = {
inherit (self) packages; packages.x86_64-linux = lib.filterAttrs (n: _: !lib.hasSuffix "-v2" n) self.packages.x86_64-linux;
nixosConfigurations = lib.mapAttrs (n: v: v.config.system.build.toplevel) self.nixosConfigurations; nixosConfigurations = lib.mapAttrs (n: v: v.config.system.build.toplevel) self.nixosConfigurations;
}; };