From e720baecf0371b0c92b6c1bddebe9f21ce2fd050 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 14 Nov 2023 01:50:59 +0100 Subject: [PATCH] config.rocmSupport: init option Parity with the CUDA option. Useful for example to get a coherent python package set, without conflicting packages. --- pkgs/top-level/config.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/top-level/config.nix b/pkgs/top-level/config.nix index 5e25231d957c..aa3a235553ef 100644 --- a/pkgs/top-level/config.nix +++ b/pkgs/top-level/config.nix @@ -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 = [];