summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNigko Yerden <nigko.yerden@gmail.com>2025-07-27 18:35:52 +0500
committerAndreas Enge <andreas@enge.fr>2025-07-28 12:37:08 +0200
commitcf6868187a68feea41b3cde9bd37670df7192fed (patch)
treee30fe9dcf53c81b22f1f03afa03cf1c97bded4cc
parent78eec5b45badf87f756e51d12f694e5189b0edff (diff)
gnu: openmpi-5: Update to 5.0.8 and fix build with gcc-14.
gnu/packages/mpi.scm (openmpi-5): Update to 5.0.8. [arguments]<#:configure-flags>: Add CFLAGS to declare warnings as non-errors. Change-Id: I05386e05f374c6e319201cdb64fd0670549d79a1 Signed-off-by: Andreas Enge <andreas@enge.fr>
-rw-r--r--gnu/packages/mpi.scm9
1 files changed, 6 insertions, 3 deletions
diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm
index 1964278ed3..631a276282 100644
--- a/gnu/packages/mpi.scm
+++ b/gnu/packages/mpi.scm
@@ -342,7 +342,7 @@ software vendors, application developers and computer science researchers.")
(define-public openmpi-5
(package
(inherit openmpi)
- (version "5.0.7")
+ (version "5.0.8")
(source
(origin
(method url-fetch)
@@ -375,7 +375,7 @@ software vendors, application developers and computer science researchers.")
;; documentation.
(delete-file-recursively "docs/html")))
(sha256
- (base32 "1pf25zp9y0ch3vab3ycpjkck4njrsms0sg6zs0s36h3ajc4j17qi"))))
+ (base32 "0jg423bv0gpdmgx6hgxcnpslhq55bfvb1y07axj0y9z7awd1w4sk"))))
(inputs (modify-inputs (package-inputs openmpi)
;; As of Open MPI 5.0.X, PMIx is used to communicate
@@ -389,7 +389,10 @@ software vendors, application developers and computer science researchers.")
(outputs '("out" "debug"))
(arguments
(list #:configure-flags
- #~(list "--enable-mpi-ext=affinity" ;cr doesn't work
+ #~(list #$(string-append
+ "CFLAGS=-g -O2"
+ " -Wno-error=incompatible-pointer-types")
+ "--enable-mpi-ext=affinity" ;cr doesn't work
"--with-sge"
"--disable-static"