guix_mirror_bot pushed a commit to branch master
in repository guix.
commit ec1eedd92fbd9ba7b272380200f3f7014bfb5257
Author: David Elsing <[email protected]>
AuthorDate: Tue Feb 3 21:33:21 2026 +0100
gnu: Add rocm-core.
* gnu/packages/rocm.scm (rocm-core): New variable.
Signed-off-by: Ludovic Courtès <[email protected]>
---
gnu/packages/rocm.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/rocm.scm b/gnu/packages/rocm.scm
index d5deb98d01..4917905111 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)))