From af3900a3166df129ee01700ee8e80acc805f87f4 Mon Sep 17 00:00:00 2001 From: Romain GARBAGE Date: Fri, 30 Jan 2026 17:54:26 +0100 Subject: [PATCH] gnu: openmpi-4: Don't mix quasiquotes with G-exps. * gnu/packages/mpi.scm (openmpi-4): Don't mix quasiquotes with G-exps. Merges guix/guix!6032 Change-Id: Ic989184bb25dc3519ea4281cf2c9cac1c18af7a9 Signed-off-by: Cayetano Santos --- gnu/packages/mpi.scm | 62 ++++++++++++++++++++++---------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm index 7ad64281d5..a4921d56da 100644 --- a/gnu/packages/mpi.scm +++ b/gnu/packages/mpi.scm @@ -277,43 +277,43 @@ bind processes, and much more.") (outputs '("out" "debug")) (arguments (list - #:configure-flags #~`(#$(string-append - "CFLAGS=-g -O2" - " -Wno-error=implicit-function-declaration" - " -Wno-error=incompatible-pointer-types") - "--enable-mpi-ext=affinity" ;cr doesn't work - "--with-sge" - "--disable-static" + #:configure-flags #~(list (string-append + "CFLAGS=-g -O2" + " -Wno-error=implicit-function-declaration" + " -Wno-error=incompatible-pointer-types") + "--enable-mpi-ext=affinity" ;cr doesn't work + "--with-sge" + "--disable-static" - #$@(if (package? (this-package-input "valgrind")) - #~("--enable-memchecker" - "--with-valgrind") - #~("--without-valgrind")) + #$@(if (package? (this-package-input "valgrind")) + #~("--enable-memchecker" + "--with-valgrind") + #~("--without-valgrind")) - "--with-hwloc=external" - "--with-libevent" + "--with-hwloc=external" + "--with-libevent" - ;; Help 'orterun' and 'mpirun' find their tools - ;; under $prefix by default. - "--enable-mpirun-prefix-by-default" + ;; Help 'orterun' and 'mpirun' find their tools + ;; under $prefix by default. + "--enable-mpirun-prefix-by-default" - ;; InfiniBand support - "--enable-openib-control-hdr-padding" - "--enable-openib-dynamic-sl" - "--enable-openib-udcm" - "--enable-openib-rdmacm" - "--enable-openib-rdmacm-ibaddr" + ;; InfiniBand support + "--enable-openib-control-hdr-padding" + "--enable-openib-dynamic-sl" + "--enable-openib-udcm" + "--enable-openib-rdmacm" + "--enable-openib-rdmacm-ibaddr" - ;; Enable support for the 'Process Management - ;; Interface for Exascale' (PMIx) used e.g. by - ;; Slurm for the management communication and - ;; coordination of MPI processes. - "--with-pmix=internal" + ;; Enable support for the 'Process Management + ;; Interface for Exascale' (PMIx) used e.g. by + ;; Slurm for the management communication and + ;; coordination of MPI processes. + "--with-pmix=internal" - ;; Enable support for SLURM's Process Manager - ;; Interface (PMI). - ,(string-append "--with-pmi=" - #$(this-package-input "slurm"))) + ;; Enable support for SLURM's Process Manager + ;; Interface (PMI). + (string-append "--with-pmi=" + #$(this-package-input "slurm"))) #:phases #~(modify-phases %standard-phases ;; opensm is needed for InfiniBand support. (add-after 'unpack 'find-opensm-headers