guix_mirror_bot pushed a commit to branch hpc-team
in repository guix.

commit f508f60cfc448a96751ddabeffce7608373c9c82
Author: Romain GARBAGE <[email protected]>
AuthorDate: Thu Jan 29 17:08:54 2026 +0100

    gnu: libfabric: Activate ROCm support.
    
    * gnu/packages/linux.scm (libfabric): Activate ROCm support.
    
    Merges guix/guix!6032
    
    Change-Id: I71761df0d4989dbe8ccf410f273486508b3575b5
    Signed-off-by: Cayetano Santos <[email protected]>
---
 gnu/packages/linux.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 76e477b5a5..3d0c203d69 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -185,6 +185,7 @@
   #:use-module (gnu packages qt)
   #:use-module (gnu packages readline)
   #:use-module (gnu packages regex)
+  #:use-module (gnu packages rocm)
   #:use-module (gnu packages rpc)
   #:use-module (gnu packages rrdtool)
   #:use-module (gnu packages rsync)
@@ -10192,6 +10193,7 @@ known as Slingshot.")
                   (cons package extra)
                   '()))))
        (append (list rdma-core libnl)
+               (if-supported rocr-runtime)
                (if-supported psm)
                (if-supported psm2)
                (if-supported libcxi curl json-c))))
@@ -10203,6 +10205,10 @@ known as Slingshot.")
                      (list #$@(if (this-package-input "libcxi")
                                   #~("--enable-cxi")
                                   #~())
+                           #$@(if (this-package-input "rocr-runtime")
+                                  #~((string-append "--with-rocr="
+                                                    #$(this-package-input 
"rocr-runtime")))
+                                  #~())
                            "--enable-verbs"))
            #:phases
            #~(modify-phases %standard-phases

Reply via email to