mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
gnu: python-h5py: Fix build with gcc-14.
* gnu/packages/python-xyz.scm (python-h5py)[arguments]: Add phase "relax-gcc-14-strictness". Change-Id: Ib68eb41305d075069926323727fe35ca65fd2873
This commit is contained in:
parent
e332d1a976
commit
9b72bd2940
1 changed files with 8 additions and 1 deletions
|
@ -3199,7 +3199,14 @@ (define-public python-h5py
|
|||
(add-after 'unpack 'fix-hdf5-paths
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(setenv "HDF5_DIR"
|
||||
(assoc-ref inputs "hdf5")))))))
|
||||
(assoc-ref inputs "hdf5"))))
|
||||
(add-before 'build 'relax-gcc-14-strictness
|
||||
(lambda _
|
||||
(setenv
|
||||
"CFLAGS"
|
||||
(string-append
|
||||
"-g -O2"
|
||||
`" -Wno-error=incompatible-pointer-types")))))))
|
||||
(propagated-inputs (list python-six python-numpy))
|
||||
(inputs (list hdf5-1.10))
|
||||
(native-inputs (list pkg-config python-cython python-ipython
|
||||
|
|
Loading…
Reference in a new issue