summary refs log tree commit diff
path: root/pkgs/tools/system/rocm-smi/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/system/rocm-smi/default.nix')
-rw-r--r--pkgs/tools/system/rocm-smi/default.nix46
1 files changed, 0 insertions, 46 deletions
diff --git a/pkgs/tools/system/rocm-smi/default.nix b/pkgs/tools/system/rocm-smi/default.nix
deleted file mode 100644
index 7e3f1fb29cc..00000000000
--- a/pkgs/tools/system/rocm-smi/default.nix
+++ /dev/null
@@ -1,46 +0,0 @@
-{ lib
-, stdenv
-, fetchFromGitHub
-, rocmUpdateScript
-, cmake
-, wrapPython
-}:
-
-stdenv.mkDerivation (finalAttrs: {
-  pname = "rocm-smi";
-  version = "5.4.4";
-
-  src = fetchFromGitHub {
-    owner = "RadeonOpenCompute";
-    repo = "rocm_smi_lib";
-    rev = "rocm-${finalAttrs.version}";
-    hash = "sha256-nkidiDNNU6MGhne9EbYClkODJZw/zZu3LWzlniJKyJE=";
-  };
-
-  postPatch = ''
-    sed '1i#include <cstring>' -i src/rocm_smi{,_gpu_metrics}.cc # since gcc12 probably
-  '';
-
-  nativeBuildInputs = [ cmake wrapPython ];
-
-  patches = [ ./cmake.patch ];
-
-  postInstall = ''
-    wrapPythonProgramsIn $out
-  '';
-
-  passthru.updateScript = rocmUpdateScript {
-    name = finalAttrs.pname;
-    owner = finalAttrs.src.owner;
-    repo = finalAttrs.src.repo;
-  };
-
-  meta = with lib; {
-    description = "System management interface for AMD GPUs supported by ROCm";
-    homepage = "https://github.com/RadeonOpenCompute/rocm_smi_lib";
-    license = with licenses; [ mit ];
-    maintainers = with maintainers; [ lovesegfault ] ++ teams.rocm.members;
-    platforms = [ "x86_64-linux" ];
-    broken = versions.minor finalAttrs.version != versions.minor stdenv.cc.version;
-  };
-})