diff options
author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2025-01-05 17:21:01 +0100 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-07-18 20:17:26 +0200 |
commit | 862730dede42a6475610032d476a93c5514531a3 (patch) | |
tree | 148b1076f271b5c3dfbc0f09a726aeb9a8a8fb10 | |
parent | 12b1a4e2d9f76b7e8b7d163e2b54ffd5fd351003 (diff) |
gnu: openmpi-4: Fix build with gcc-14.
* gnu/packages/mpi.scm (openmpi-4)[arguments]: Add CFLAGS to #:configure-flags
to relax gcc-14's strictness.
Change-Id: I4a19a473a729ce054d855ec2c4d6ea94dc94b849
-rw-r--r-- | gnu/packages/mpi.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm index 99fcedd334..1964278ed3 100644 --- a/gnu/packages/mpi.scm +++ b/gnu/packages/mpi.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2018 Paul Garlick <pgarlick@tourbillion-technology.com> ;;; Copyright © 2019, 2021 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2024 Romain Garbage <romain.garbage@inria.fr> +;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -243,7 +244,11 @@ bind processes, and much more.") (outputs '("out" "debug")) (arguments (list - #:configure-flags #~`("--enable-mpi-ext=affinity" ;cr doesn't work + #:configure-flags #~`(#$(string-append + "CFLAGS=-g -O2" + " -Wno-error=implicit-function-declaration" + " -Wno-error=incompatible-pointer-types") + "--enable-mpi-ext=affinity" ;cr doesn't work "--with-sge" "--disable-static" |