No longer build LTO kernel cache for less used kernel variants

This commit is contained in:
Lan Tian 2026-06-08 19:54:12 -07:00
parent 26f7d3345e
commit be83352756
No known key found for this signature in database
GPG Key ID: 04E66B6B25A0862B
2 changed files with 54 additions and 8 deletions

View File

@ -44,19 +44,19 @@ This repo provides the following kernel variants, consistent with the [upstream
├───linux-cachyos-bore-lto-zen4
# Additional CachyOS kernel variants
├───linux-cachyos-bmq
├───linux-cachyos-bmq-lto
├───linux-cachyos-bmq-lto (no binary cache)
├───linux-cachyos-deckify
├───linux-cachyos-deckify-lto
├───linux-cachyos-deckify-lto (no binary cache)
├───linux-cachyos-eevdf
├───linux-cachyos-eevdf-lto
├───linux-cachyos-eevdf-lto (no binary cache)
├───linux-cachyos-hardened
├───linux-cachyos-hardened-lto
├───linux-cachyos-hardened-lto (no binary cache)
├───linux-cachyos-rc
├───linux-cachyos-rc-lto
├───linux-cachyos-rc-lto (no binary cache)
├───linux-cachyos-rt-bore
├───linux-cachyos-rt-bore-lto
├───linux-cachyos-rt-bore-lto (no binary cache)
├───linux-cachyos-server
└───linux-cachyos-server-lto
└───linux-cachyos-server-lto (no binary cache)
```
The kernel versions are automatically kept in sync with Nixpkgs, so once the latest/LTS kernel is updated in Nixpkgs, CachyOS kernels in this repo will automatically catch up.

View File

@ -118,7 +118,53 @@
};
hydraJobs = {
packages.x86_64-linux = lib.filterAttrs (n: _: !lib.hasSuffix "-v2" n) self.packages.x86_64-linux;
packages.x86_64-linux = {
inherit (self.packages.x86_64-linux)
# Latest kernel
linux-cachyos-latest
linux-cachyos-latest-lto
linux-cachyos-latest-lto-x86_64-v3
linux-cachyos-latest-lto-x86_64-v4
linux-cachyos-latest-lto-zen4
linux-cachyos-latest-x86_64-v3
linux-cachyos-latest-x86_64-v4
linux-cachyos-latest-zen4
# LTS kernel
linux-cachyos-lts
linux-cachyos-lts-lto
linux-cachyos-lts-lto-x86_64-v3
linux-cachyos-lts-lto-x86_64-v4
linux-cachyos-lts-lto-zen4
linux-cachyos-lts-x86_64-v3
linux-cachyos-lts-x86_64-v4
linux-cachyos-lts-zen4
# Latest kernel with BORE scheduler
linux-cachyos-bore
linux-cachyos-bore-lto
linux-cachyos-bore-lto-x86_64-v3
linux-cachyos-bore-lto-x86_64-v4
linux-cachyos-bore-lto-zen4
linux-cachyos-bore-x86_64-v3
linux-cachyos-bore-x86_64-v4
linux-cachyos-bore-zen4
# Additional CachyOS kernel variants
linux-cachyos-bmq
linux-cachyos-deckify
linux-cachyos-eevdf
linux-cachyos-hardened
linux-cachyos-rc
linux-cachyos-rt-bore
linux-cachyos-server
# ZFS, latest and LTS
zfs-cachyos
zfs-cachyos-lto
zfs-cachyos-lts
zfs-cachyos-lts-lto
# ZFS, less used variants
zfs-cachyos-hardened
zfs-cachyos-rc
;
};
nixosConfigurations = lib.mapAttrs (n: v: v.config.system.build.toplevel) self.nixosConfigurations;
};