mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00: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
862730dede
commit
2237640a25
1 changed files with 8 additions and 1 deletions
|
@ -3980,7 +3980,14 @@ library.")
|
|||
(when tests?
|
||||
(setenv "H5PY_TEST_CHECK_FILTERS" "1")
|
||||
(with-directory-excursion (site-packages inputs outputs)
|
||||
(invoke "pytest" "-vv"))))))))
|
||||
(invoke "pytest" "-vv")))))
|
||||
(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))
|
||||
(native-inputs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue