From ec1eedd92fbd9ba7b272380200f3f7014bfb5257 Mon Sep 17 00:00:00 2001 From: David Elsing Date: Tue, 3 Feb 2026 21:33:21 +0100 Subject: gnu: Add rocm-core. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/rocm.scm (rocm-core): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/rocm.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/rocm.scm b/gnu/packages/rocm.scm index d5deb98d019..49179051117 100644 --- a/gnu/packages/rocm.scm +++ b/gnu/packages/rocm.scm @@ -569,3 +569,27 @@ command-line tool, @command{amd-smi}, which can be used to do the same.") modification of the intercept API table(s) of the HSA/HIP/ROCTx runtime libraries by the ROCprofiler (v2) library.") (license license:expat))) + +(define-public rocm-core + (package + (name "rocm-core") + (version %rocm-version) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ROCm/rocm-core") + (commit (string-append "rocm-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1a0sp50vql4nl6h19frpf1swka8j2hwmy0iaw8l1lbgvpd3hyr6x")))) + (build-system cmake-build-system) + (arguments + (list + #:tests? #f ; no tests + #:configure-flags + `(list ,(string-append "-DROCM_VERSION=" %rocm-version)))) + (home-page "https://github.com/Rocm/rocm-core") + (synopsis "Utility to get the ROCm release version") + (description "Utility to get the ROCm release version") + (license license:expat))) -- cgit v1.3