mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 20:49:29 -05: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:
parent
ffcf6a5140
commit
d1e9f626b4
1 changed files with 10 additions and 13 deletions
|
@ -428,21 +428,18 @@ (define-public boost-mpi
|
||||||
(inherit boost)
|
(inherit boost)
|
||||||
(name "boost-mpi")
|
(name "boost-mpi")
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("perl" ,perl)
|
(modify-inputs (package-native-inputs boost)
|
||||||
,@(if (%current-target-system)
|
(append openmpi)))
|
||||||
'()
|
|
||||||
`(("python" ,python-wrapper)))
|
|
||||||
("openmpi" , openmpi)))
|
|
||||||
(arguments
|
(arguments
|
||||||
(substitute-keyword-arguments (package-arguments boost)
|
(substitute-keyword-arguments (package-arguments boost)
|
||||||
((#:phases phases)
|
((#:phases phases)
|
||||||
`(modify-phases ,phases
|
#~(modify-phases #$phases
|
||||||
(add-after 'configure 'update-jam
|
(add-after 'configure 'update-jam
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let ((output-port (open-file "project-config.jam" "a")))
|
(let ((output-port (open-file "project-config.jam" "a")))
|
||||||
(display "using mpi ;" output-port)
|
(display "using mpi ;" output-port)
|
||||||
(newline output-port)
|
(newline output-port)
|
||||||
(close output-port))))))))
|
(close output-port))))))))
|
||||||
(home-page "https://www.boost.org")
|
(home-page "https://www.boost.org")
|
||||||
(synopsis "Message Passing Interface (MPI) library for C++")))
|
(synopsis "Message Passing Interface (MPI) library for C++")))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue