mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: Add boost-mpi.
* gnu/packages/boost.scm (boost-mpi): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
4b83f820dd
commit
ccff338086
1 changed files with 26 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
|||
;;; Copyright © 2019, 2020 Giacomo Leidi <goodoldpaul@autistici.org>
|
||||
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
|
||||
;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
|
||||
;;; Copyright © 2021 Franck Pérignon <franck.perignon@univ-grenoble-alpes.fr>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -45,6 +46,7 @@ (define-module (gnu packages boost)
|
|||
#:use-module (gnu packages perl)
|
||||
#:use-module (gnu packages python)
|
||||
#:use-module (gnu packages shells)
|
||||
#:use-module (gnu packages mpi)
|
||||
#:use-module (srfi srfi-1))
|
||||
|
||||
(define (version-with-underscores version)
|
||||
|
@ -347,6 +349,30 @@ (define-public boost-signals2
|
|||
signals and slots system.")
|
||||
(license (license:x11-style "https://www.boost.org/LICENSE_1_0.txt"))))
|
||||
|
||||
|
||||
(define-public boost-mpi
|
||||
(package
|
||||
(inherit boost)
|
||||
(name "boost-mpi")
|
||||
(native-inputs
|
||||
`(("perl" ,perl)
|
||||
,@(if (%current-target-system)
|
||||
'()
|
||||
`(("python" ,python-wrapper)))
|
||||
("openmpi" , 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))))))))
|
||||
(home-page "https://www.boost.org")
|
||||
(synopsis "Message Passing Interface (MPI) library for C++")))
|
||||
|
||||
(define-public mdds
|
||||
(package
|
||||
(name "mdds")
|
||||
|
|
Loading…
Reference in a new issue