gnu: Add openmpi-c++.

* gnu/packages/mpi.scm (openmpi-c++): New variable.
This commit is contained in:
Ricardo Wurmus 2021-12-02 15:28:13 +01:00
parent df4f960cb8
commit 2d6be35ea2
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -7,7 +7,7 @@
;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 20182021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Paul Garlick <pgarlick@tourbillion-technology.com>
;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2019, 2021 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; This file is part of GNU Guix.
;;;
@ -310,6 +310,16 @@ (define-public openmpi
;; See file://LICENSE
(license license:bsd-2)))
(define-public openmpi-c++
(package/inherit openmpi
(name "openmpi-c++")
(outputs '("out"))
(arguments
(substitute-keyword-arguments (package-arguments openmpi)
((#:configure-flags flags)
`(cons "--enable-mpi-cxx" ,flags))))
(synopsis "C++ bindings for MPI")))
;; TODO: javadoc files contain timestamps.
(define-public java-openmpi
(package/inherit openmpi