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

commit 3919de229368c31a96b9f588aa3a0f87a6cd2a25
Author: Ludovic Courtès <[email protected]>
AuthorDate: Fri May 29 16:08:04 2026 +0200

    gnu: hwloc: Remove dependency on ‘rocm-smi-lib’.
    
    Depending on ‘rocm-smi-lib’ allows hwloc to provide information about the
    location of AMD GPUs.  However, that feature appears to be unused by runtime
    support libraries such as StarPU, and more importantly, it can lead to link
    failures when another GCC version gets in the mix.
    
    * gnu/packages/mpi.scm (hwloc)[inputs]: Remove ‘libdrm’ and ‘rocm-smi-lib’.
    [arguments]: Remove ‘--enable-rsmi’ and ‘--with-rocm’ from configure flags.
    
    Fixes: guix/guix#8078
    Reported-by: Yann Dupont <[email protected]>
    Change-Id: I0e7a471eb9e35a3a17afc2cd2b5337ec2fc8e2f3
---
 gnu/packages/mpi.scm | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm
index 1b8e19f15e6..d79e38ed575 100644
--- a/gnu/packages/mpi.scm
+++ b/gnu/packages/mpi.scm
@@ -100,13 +100,7 @@
      (append (if (%current-target-system)
                  '()              ;fewer dependencies when cross-compiling
                  (list libx11 cairo ncurses expat))
-             (list
-              ;; XXX: rocm-smi requires libdrm/drm.h but doesn't
-              ;; propagate a package providing these. For now, libdrm is
-              ;; used to provide this header.
-              libdrm
-              opencl-icd-loader
-              rocm-smi-lib)))
+             (list opencl-icd-loader)))
     (propagated-inputs
      ;; hwloc.pc lists libze_loader and libxml2 in
      ;; 'Requires.private' in 'hwloc.pc'.
@@ -117,8 +111,6 @@
       #~(list
          (string-append
           "--with-opencl=" #$(this-package-input "opencl-icd-loader"))
-         "--enable-rsmi"
-         (string-append "--with-rocm=" #$(this-package-input "rocm-smi-lib"))
          "--localstatedir=/var")
       #:phases
       #~(modify-phases %standard-phases

Reply via email to