me
/
guix
Archived
1
0
Fork 0

gnu: Fix openmpi related packages.

This makes these package definitions compatible with the openmpi package which
uses gexps as of f45fc72c28.

* gnu/packages/mpi.scm (openmpi-c++, java-openmpi,
openmpi-thread-multiple)[arguments]: Use gexps.
Christopher Baines 2023-02-27 09:34:09 +00:00
parent 17bd024331
commit 9ae4846c50
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 28 additions and 27 deletions

View File

@ -311,7 +311,7 @@ software vendors, application developers and computer science researchers.")
(arguments
(substitute-keyword-arguments (package-arguments openmpi)
((#:configure-flags flags)
`(cons "--enable-mpi-cxx" ,flags))))
#~(cons "--enable-mpi-cxx" #$flags))))
(synopsis "C++ bindings for MPI")))
;; TODO: javadoc files contain timestamps.
@ -327,19 +327,20 @@ software vendors, application developers and computer science researchers.")
,@(package-native-inputs openmpi)))
(outputs '("out"))
(arguments
`(#:modules ((guix build gnu-build-system)
(cons*
#:modules '((guix build gnu-build-system)
((guix build ant-build-system) #:prefix ant:)
(guix build utils))
#:imported-modules ((guix build ant-build-system)
#:imported-modules `((guix build ant-build-system)
,@%gnu-build-system-modules)
,@(substitute-keyword-arguments (package-arguments openmpi)
(substitute-keyword-arguments (package-arguments openmpi)
((#:configure-flags flags)
`(cons "--enable-mpi-java" ,flags))
#~(cons "--enable-mpi-java" #$flags))
((#:make-flags flags ''())
`(append '("-C" "ompi/mpi/java")
,flags))
#~(append '("-C" "ompi/mpi/java")
#$flags))
((#:phases phases)
`(modify-phases ,phases
#~(modify-phases #$phases
;; We could provide the location of the JDK in the configure
;; flags, but since the configure flags are embedded in the
;; info binaries that would leave a reference to the JDK in
@ -363,7 +364,7 @@ software vendors, application developers and computer science researchers.")
(arguments
(substitute-keyword-arguments (package-arguments openmpi)
((#:configure-flags flags)
`(cons "--enable-mpi-thread-multiple" ,flags))))
#~(cons "--enable-mpi-thread-multiple" #$flags))))
(description "This version of Open@tie{}MPI has an implementation of
@code{MPI_Init_thread} that provides @code{MPI_THREAD_MULTIPLE}. This won't
work correctly with all transports (such as @code{openib}), and the