From cd0d85498bf137ed92cf670e0952a3a9b5b4ea18 Mon Sep 17 00:00:00 2001 From: Cayetano Santos Date: Thu, 12 Feb 2026 08:18:13 +0100 Subject: gnu: rocm-smi: Deprecate in favor or rocm-smi-lib. * gnu/packages/rocm-tools.scm (rocm-smi): Delete variable. Merges guix/guix!6339 Change-Id: I092659f6a4bc7c660804f5ea98eec407fe4afbdd --- gnu/packages/rocm-tools.scm | 31 ------------------------------- gnu/packages/rocm.scm | 2 ++ 2 files changed, 2 insertions(+), 31 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/rocm-tools.scm b/gnu/packages/rocm-tools.scm index f2331c11041..deee36f5a01 100644 --- a/gnu/packages/rocm-tools.scm +++ b/gnu/packages/rocm-tools.scm @@ -21,7 +21,6 @@ #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) - #:use-module (gnu packages base) #:use-module (gnu packages check) #:use-module (gnu packages elf) #:use-module (gnu packages instrumentation) @@ -170,33 +169,3 @@ translate CUDA source code into portable HIP C++.") (description "ROC profiler library. Profiling with perf-counters and derived metrics.") (license license:expat))) - -(define-public rocm-smi - (package - (name "rocm-smi") - (version %rocm-version) - (source - (origin - (method git-fetch) - (uri (git-reference - (url (string-append "https://github.com/ROCm/rocm_smi_lib")) - (commit (string-append "rocm-" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "16i9ki4h6qp05g2n8pn8zakic8x581c1aavwnbyf17rrxvbnhyzz")))) - (build-system cmake-build-system) - (arguments - (list - #:tests? #f ; requires GPU - #:build-type "Release")) - (native-inputs (list pkg-config)) - (inputs (list libdrm python)) - (propagated-inputs (list grep coreutils)) - (synopsis "The ROCm System Management Interface (ROCm SMI) Library") - (description "The ROCm System Management Interface Library, or -ROCm SMI library, is part of the Radeon Open Compute ROCm software -stack. It is a C library for Linux that provides a user space -interface for applications to monitor and control GPU applications.") - (home-page "https://github.com/ROCm/rocm_smi_lib") - (license license:ncsa))) diff --git a/gnu/packages/rocm.scm b/gnu/packages/rocm.scm index 2ec0b84b4a9..33f14968b9a 100644 --- a/gnu/packages/rocm.scm +++ b/gnu/packages/rocm.scm @@ -754,3 +754,5 @@ ROCm SMI library, is part of the Radeon Open Compute ROCm software stack. It is a C library for Linux that provides a user space interface for applications to monitor and control GPU applications.") (license license:expat))) + +(define-deprecated-package rocm-smi rocm-smi-lib) -- cgit v1.3