[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
226/246: gnu: openmpi-4: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
226/246: gnu: openmpi-4: Fix build with gcc-14. |
Date: |
Fri, 10 Jan 2025 10:47:54 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit 695135bdbe0144545a93d177d7db18eb5c2963e7
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sun Jan 5 17:21:01 2025 +0100
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
---
gnu/packages/mpi.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm
index 157bbfdecd..ffdfb5a731 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.
;;;
@@ -234,7 +235,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"
- 244/246: gnu: clang-runtime-17: Build with gcc-13., (continued)
- 244/246: gnu: clang-runtime-17: Build with gcc-13., guix-commits, 2025/01/10
- 224/246: gnu: freerdp: Fix build with gcc-14., guix-commits, 2025/01/10
- 232/246: gnu: python-traittypes: Fix tests., guix-commits, 2025/01/10
- 245/246: gnu: clang-runtime-19: Build with gcc-14., guix-commits, 2025/01/10
- 233/246: gnu: python-tables: Fix reference to library., guix-commits, 2025/01/10
- 234/246: gnu: Add python-tiny-proxy., guix-commits, 2025/01/10
- 238/246: gnu: ath9k-firmware: Remove CMAKE_SYSTEM_NAME override., guix-commits, 2025/01/10
- 230/246: gnu: python-pydantic: Fix build., guix-commits, 2025/01/10
- 235/246: gnu: python-socks: Update to 2.6.1., guix-commits, 2025/01/10
- 239/246: gexp: Improve support of Unicode characters., guix-commits, 2025/01/10
- 226/246: gnu: openmpi-4: Fix build with gcc-14.,
guix-commits <=
- 243/246: gnu: clang-runtime-18: Build with gcc-13., guix-commits, 2025/01/10