From cf6868187a68feea41b3cde9bd37670df7192fed Mon Sep 17 00:00:00 2001 From: Nigko Yerden Date: Sun, 27 Jul 2025 18:35:52 +0500 Subject: [PATCH] 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 --- gnu/packages/mpi.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm index 1964278ed35..631a2762827 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"