mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
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
This commit is contained in:
parent
bd1e39c155
commit
e332d1a976
1 changed files with 6 additions and 1 deletions
|
@ -9,6 +9,7 @@
|
||||||
;;; Copyright © 2018 Paul Garlick <pgarlick@tourbillion-technology.com>
|
;;; Copyright © 2018 Paul Garlick <pgarlick@tourbillion-technology.com>
|
||||||
;;; Copyright © 2019, 2021 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2019, 2021 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;; Copyright © 2024 Romain Garbage <romain.garbage@inria.fr>
|
;;; Copyright © 2024 Romain Garbage <romain.garbage@inria.fr>
|
||||||
|
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -234,7 +235,11 @@ (define-public openmpi-4
|
||||||
(outputs '("out" "debug"))
|
(outputs '("out" "debug"))
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(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"
|
"--with-sge"
|
||||||
"--disable-static"
|
"--disable-static"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue