From 6390a0c6ad8f43d1cf5539c152f46f7adebe96c1 Mon Sep 17 00:00:00 2001 From: Romain GARBAGE Date: Thu, 29 Jan 2026 17:08:54 +0100 Subject: [PATCH] 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 --- gnu/packages/linux.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 71bb9711b9..91984cc965 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) @@ -10511,6 +10512,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)))) @@ -10522,6 +10524,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