lol
This commit is contained in:
@@ -67,6 +67,7 @@ in
|
||||
|
||||
linuxPackages_cachyos = super.${namespace}.linuxPackages_cachyos.override { stdenv = super.ccacheStdenv; };
|
||||
linuxPackages_cachyos-lto = super.${namespace}.linuxPackages_cachyos-lto.override { stdenv = super.ccacheStdenv; };
|
||||
linuxPackages_cachyos-lto-full = super.${namespace}.linuxPackages_cachyos-lto-full.override { stdenv = super.ccacheStdenv; };
|
||||
linuxPackages_cachyos-lto-znver4 = super.${namespace}.linuxPackages_cachyos-lto-znver4.override { stdenv = super.ccacheStdenv; };
|
||||
linuxPackages_cachyos-server = super.${namespace}.linuxPackages_cachyos-server.override { stdenv = super.ccacheStdenv; };
|
||||
linuxPackages_cachyos-server-lto = super.${namespace}.linuxPackages_cachyos-server-lto.override { stdenv = super.ccacheStdenv; };
|
||||
|
||||
@@ -29,6 +29,7 @@ in
|
||||
# Clang Kernels
|
||||
# Latest
|
||||
linuxPackages_cachyos-lto = cachyosPackages.cachyos-lto;
|
||||
linuxPackages_cachyos-lto-full = cachyosPackages.cachyos-lto-full;
|
||||
linuxPackages_cachyos-lto-znver4 = cachyosPackages.cachyos-lto-znver4;
|
||||
# Latest Server
|
||||
linuxPackages_cachyos-server-lto = cachyosPackages.cachyos-server-lto;
|
||||
|
||||
@@ -131,6 +131,7 @@
|
||||
"CONFIG_RCU_BOOST_DELAY" = "500";
|
||||
"CONFIG_RCU_NOCB_CPU" = "y";
|
||||
"CONFIG_RCU_LAZY" = "y";
|
||||
"CONFIG_RCU_LAZY_DEFAULT_OFF" = "y";
|
||||
"CONFIG_RCU_DOUBLE_CHECK_CB_TIME" = "y";
|
||||
"CONFIG_IKCONFIG" = "y";
|
||||
"CONFIG_IKCONFIG_PROC" = "y";
|
||||
@@ -1072,6 +1073,7 @@
|
||||
"CONFIG_NET_CRC32C" = "y";
|
||||
"CONFIG_PACKET" = "y";
|
||||
"CONFIG_PACKET_DIAG" = "m";
|
||||
"CONFIG_INET_PSP" = "y";
|
||||
"CONFIG_UNIX" = "y";
|
||||
"CONFIG_AF_UNIX_OOB" = "y";
|
||||
"CONFIG_UNIX_DIAG" = "m";
|
||||
@@ -1095,6 +1097,7 @@
|
||||
"CONFIG_SMC" = "m";
|
||||
"CONFIG_SMC_DIAG" = "m";
|
||||
"CONFIG_DIBS" = "m";
|
||||
"CONFIG_DIBS_LO" = "y";
|
||||
"CONFIG_XDP_SOCKETS" = "y";
|
||||
"CONFIG_XDP_SOCKETS_DIAG" = "m";
|
||||
"CONFIG_NET_HANDSHAKE" = "y";
|
||||
@@ -2460,6 +2463,7 @@
|
||||
"CONFIG_MD" = "y";
|
||||
"CONFIG_BLK_DEV_MD" = "m";
|
||||
"CONFIG_MD_BITMAP" = "y";
|
||||
"CONFIG_MD_LLBITMAP" = "y";
|
||||
"CONFIG_MD_BITMAP_FILE" = "y";
|
||||
"CONFIG_MD_LINEAR" = "m";
|
||||
"CONFIG_MD_RAID0" = "m";
|
||||
@@ -2836,6 +2840,7 @@
|
||||
"CONFIG_MLX5_SF" = "y";
|
||||
"CONFIG_MLX5_SF_MANAGER" = "y";
|
||||
"CONFIG_MLX5_DPLL" = "m";
|
||||
"CONFIG_MLX5_EN_PSP" = "y";
|
||||
"CONFIG_MLXSW_CORE" = "m";
|
||||
"CONFIG_MLXSW_CORE_HWMON" = "y";
|
||||
"CONFIG_MLXSW_CORE_THERMAL" = "y";
|
||||
|
||||
8665
packages/linux-cachyos/config-nix/cachyos-gcc.aarch64-linux.nix
Normal file
8665
packages/linux-cachyos/config-nix/cachyos-gcc.aarch64-linux.nix
Normal file
File diff suppressed because it is too large
Load Diff
9628
packages/linux-cachyos/config-nix/cachyos-lto-full.x86_64-linux.nix
Normal file
9628
packages/linux-cachyos/config-nix/cachyos-lto-full.x86_64-linux.nix
Normal file
File diff suppressed because it is too large
Load Diff
@@ -12,7 +12,7 @@
|
||||
}@args: # 3. Rename this capture from 'inputs' to 'args' to avoid variable name collision
|
||||
|
||||
let
|
||||
inherit (stdenv) isx86_64 isLinux;
|
||||
inherit (stdenv) isx86_64 isAarch64 isLinux;
|
||||
inherit (lib.trivial) importJSON;
|
||||
|
||||
# CachyOS repeating stuff.
|
||||
@@ -62,6 +62,11 @@ let
|
||||
description = "Linux EEVDF-BORE scheduler Kernel by CachyOS built with LLVM and Thin LTO";
|
||||
};
|
||||
|
||||
ltoFullKernelAttrs = ltoKernelAttrs // {
|
||||
configPath = ./config-nix/cachyos-lto.x86_64-linux.nix;
|
||||
useLTO = "full";
|
||||
};
|
||||
|
||||
serverLtoKernelAttrs = {
|
||||
taste = "linux-cachyos-server";
|
||||
pname = "cachyos-server-lto";
|
||||
@@ -120,7 +125,7 @@ let
|
||||
};
|
||||
});
|
||||
|
||||
isUnsupported = !isx86_64 || !isLinux;
|
||||
isUnsupported = !(isx86_64 || isAarch64) || !isLinux;
|
||||
|
||||
mkCachyKernel =
|
||||
if isUnsupported then
|
||||
@@ -146,7 +151,7 @@ let
|
||||
gccKernel = mkCachyKernel {
|
||||
taste = "linux-cachyos";
|
||||
pname = "cachyos-gcc";
|
||||
configPath = ./config-nix/cachyos-gcc.x86_64-linux.nix;
|
||||
configPath = ( if isx86_64 then ./config-nix/cachyos-gcc.x86_64-linux.nix else ./config-nix/cachyos-gcc.aarch64-linux.nix);
|
||||
# since all flavors use the same versions.json, we just need the updateScript in one of them
|
||||
withUpdateScript = "stable";
|
||||
};
|
||||
@@ -189,6 +194,7 @@ in
|
||||
prev // { recurseForDerivations = false; };
|
||||
};
|
||||
cachyos-lto = mkCachyKernel ltoKernelAttrs;
|
||||
cachyos-lto-full = mkCachyKernel ltoFullKernelAttrs;
|
||||
|
||||
cachyos-lto-znver4 = mkCachyKernel (
|
||||
ltoKernelAttrs
|
||||
|
||||
Reference in New Issue
Block a user