Commit 20993aae authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

manifest: Add package variants built with nmad instead of openmpi.

* manifest (openmpi->nmad, our-packages): New variables.
<top level>: Add a couple of transformed packages.
parent 8fd0ccbd
......@@ -11,6 +11,7 @@
(guix profiles)
(guix describe)
(guix channels)
(guix transformations)
(srfi srfi-1)
(ice-9 match))
......@@ -29,9 +30,21 @@
(eq? 'guix-hpc (channel-name channel)))
channels))))
(define openmpi->nmad
;; Rewrite the dependency graph of the given package, replacing Open MPI
;; with NewMadeleine.
(options->transformation
'((with-input . "openmpi=nmad"))))
(define our-packages
;; The list of packages in this channel.
(fold-packages (lambda (package result)
(if (guix-hpc-package? package)
(cons package result)
result))
'()))
(packages->manifest
(fold-packages (lambda (package result)
(if (guix-hpc-package? package)
(cons package result)
result))
'()))
(append our-packages
(map (compose openmpi->nmad specification->package)
'("chameleon" "maphys"))))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment