mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-29 05:30:32 +02:00
gnu: boost-mpi: Remove input labels.
* gnu/packages/boost.scm (boost-mpi)[native-inputs]: Use MODIFY-INPUTS and remove labels. [arguments]: Use G-expression.
This commit is contained in:
@@ -428,21 +428,18 @@ signals and slots system.")
|
||||
(inherit boost)
|
||||
(name "boost-mpi")
|
||||
(native-inputs
|
||||
`(("perl" ,perl)
|
||||
,@(if (%current-target-system)
|
||||
'()
|
||||
`(("python" ,python-wrapper)))
|
||||
("openmpi" , openmpi)))
|
||||
(modify-inputs (package-native-inputs boost)
|
||||
(append openmpi)))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments boost)
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(add-after 'configure 'update-jam
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let ((output-port (open-file "project-config.jam" "a")))
|
||||
(display "using mpi ;" output-port)
|
||||
(newline output-port)
|
||||
(close output-port))))))))
|
||||
((#:phases phases)
|
||||
#~(modify-phases #$phases
|
||||
(add-after 'configure 'update-jam
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let ((output-port (open-file "project-config.jam" "a")))
|
||||
(display "using mpi ;" output-port)
|
||||
(newline output-port)
|
||||
(close output-port))))))))
|
||||
(home-page "https://www.boost.org")
|
||||
(synopsis "Message Passing Interface (MPI) library for C++")))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user