modules.system.nix: set remote default mandatoryFeatures as big-parallel

This commit is contained in:
陈浩南 2024-09-13 14:57:07 +08:00
parent 317f94a875
commit 44254c33fa
7 changed files with 7 additions and 7 deletions

View File

@ -15,7 +15,7 @@ inputs:
mandatoryFeatures = mkOption
{
type = types.listOf types.nonEmptyStr;
default = [ "gccarch-exact-${inputs.config.nixos.system.nixpkgs.march}" ];
default = [ "big-parallel" ];
};
};
master =

View File

@ -40,5 +40,5 @@ in stdenvNoCC.mkDerivation
mkdir -p $out
${builder}/bin/builder ./install
'';
requiredSystemFeatures = [ "gccarch-exact-${stdenvNoCC.hostPlatform.gcc.arch}" ];
requiredSystemFeatures = [ "gccarch-exact-${stdenvNoCC.hostPlatform.gcc.arch}" "big-parallel" ];
}

View File

@ -86,5 +86,5 @@ in stdenvNoCC.mkDerivation rec
--ignore-latest
'';
dontFixup = true;
requiredSystemFeatures = [ "gccarch-exact-${stdenvNoCC.hostPlatform.gcc.arch}" ];
requiredSystemFeatures = [ "gccarch-exact-${stdenvNoCC.hostPlatform.gcc.arch}" "big-parallel" ];
}

View File

@ -36,5 +36,5 @@ in stdenvNoCC.mkDerivation
'';
dontInstall = true;
dontFixup = true;
requiredSystemFeatures = [ "gccarch-exact-${stdenvNoCC.hostPlatform.gcc.arch}" ];
requiredSystemFeatures = [ "gccarch-exact-${stdenvNoCC.hostPlatform.gcc.arch}" "big-parallel" ];
}

View File

@ -44,5 +44,5 @@ in stdenvNoCC.mkDerivation
'';
dontInstall = true;
dontFixup = true;
requiredSystemFeatures = [ "gccarch-exact-${stdenvNoCC.hostPlatform.gcc.arch}" ];
requiredSystemFeatures = [ "gccarch-exact-${stdenvNoCC.hostPlatform.gcc.arch}" "big-parallel" ];
}

View File

@ -46,7 +46,7 @@ let
ln -s ${vtst} $out/src/vtst
'';
dontFixup = true;
requiredSystemFeatures = [ "gccarch-exact-${stdenvNoCC.hostPlatform.gcc.arch}" ];
requiredSystemFeatures = [ "gccarch-exact-${stdenvNoCC.hostPlatform.gcc.arch}" "big-parallel" ];
};
startScript = variant: writeScript "vasp-intel"
''

View File

@ -49,7 +49,7 @@ let
ln -s ${vtst} $out/src/vtst
'';
dontFixup = true;
requiredSystemFeatures = [ "gccarch-exact-${stdenvNoCC.hostPlatform.gcc.arch}" ];
requiredSystemFeatures = [ "gccarch-exact-${stdenvNoCC.hostPlatform.gcc.arch}" "big-parallel" ];
};
startScript = variant: writeScript "vasp-nvidia"
''