config.rocmSupport: init option

Parity with the CUDA option. Useful for example to get a coherent
python package set, without conflicting packages.
This commit is contained in:
Martin Weinelt 2023-11-14 01:50:59 +01:00
parent 8f1753206f
commit e720baecf0
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -123,6 +123,12 @@ let
feature = "build packages with CUDA support by default";
};
rocmSupport = mkMassRebuild {
type = types.bool;
default = false;
feature = "build packages with ROCm support by default";
};
showDerivationWarnings = mkOption {
type = types.listOf (types.enum [ "maintainerless" ]);
default = [];