mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-scipy: Fix build on i686-linux.
* gnu/packages/patches/python-scipy-i686.patch: Add patch. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/python-science.scm (python-scipy): Add phase to apply the patch. Fixes guix/guix#2989 Change-Id: I6c5d807bd2ed23fca6e94b28cb6927c154bde0e8 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
bef09e93b3
commit
5bb84e0b97
3 changed files with 59 additions and 0 deletions
|
@ -3108,6 +3108,15 @@ cross-validation.")
|
|||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
#$@(if (target-x86-32?)
|
||||
#~((add-after 'unpack 'apply-i686-patch
|
||||
(lambda _
|
||||
(let ((patch-file
|
||||
#$(local-file
|
||||
(search-patch "python-scipy-i686.patch"))))
|
||||
(invoke "patch" "--force" "-p1" "-i"
|
||||
patch-file)))))
|
||||
#~())
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue