mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 06:46:50 +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
82de420bd2
commit
2600337744
1 changed files with 8 additions and 1 deletions
|
@ -3214,7 +3214,14 @@ (define-public python-h5py
|
||||||
(add-after 'unpack 'fix-hdf5-paths
|
(add-after 'unpack 'fix-hdf5-paths
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(setenv "HDF5_DIR"
|
(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))
|
(propagated-inputs (list python-six python-numpy))
|
||||||
(inputs (list hdf5-1.10))
|
(inputs (list hdf5-1.10))
|
||||||
(native-inputs (list pkg-config python-cython python-ipython
|
(native-inputs (list pkg-config python-cython python-ipython
|
||||||
|
|
Loading…
Reference in a new issue