guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: gnu: Add openmpi-c++.


From: guix-commits
Subject: 01/03: gnu: Add openmpi-c++.
Date: Thu, 2 Dec 2021 09:41:21 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 2d6be35ea207c01193c5995b36523e8cd815cac9
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Dec 2 15:28:13 2021 +0100

    gnu: Add openmpi-c++.
    
    * gnu/packages/mpi.scm (openmpi-c++): New variable.
---
 gnu/packages/mpi.scm | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm
index 2011cbc..77711c9 100644
--- a/gnu/packages/mpi.scm
+++ b/gnu/packages/mpi.scm
@@ -7,7 +7,7 @@
 ;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2018–2021 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 @@ software vendors, application developers and computer 
science researchers.")
     ;; 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]