diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2026-01-26 11:38:31 +0200 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2026-01-26 18:21:42 +0200 |
| commit | 40298c2071bf97f1095889e554bfd312c7739802 (patch) | |
| tree | 4d01d7852bdc075cba5df0eeba5cffda80bf4df5 /gnu | |
| parent | 64429ac5864d68d3ef066f4533a07ce32adc4f87 (diff) | |
gnu: python-numpy: Fix build on powerpc64le-linux.
* gnu/packages/python-xyz.scm (python-numpy)[arguments]: Add a phase to
fix the test suite when building on powerpc64le-linux.
Change-Id: I124cab23263f72174b72f36c3fba08fa6d696b80
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 68db67f4c5e..c8cf201025a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14,7 +14,7 @@ ;;; Copyright © 2015, 2016, 2017, 2019, 2022 Leo Famulari <leo@famulari.name> ;;; Copyright © 2015, 2017 Ben Woodcroft <donttrustben@gmail.com> ;;; Copyright © 2015, 2016 Erik Edrosa <erik.edrosa@gmail.com> -;;; Copyright © 2015-2025 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2015-2026 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2015, 2017, 2020 Kyle Meyer <kyle@kyleam.com> ;;; Copyright © 2015, 2016 Chris Marusich <cmmarusich@gmail.com> ;;; Copyright © 2016 Danny Milosavljevic <dannym+a@scratchpost.org> @@ -5309,7 +5309,7 @@ concepts.") (define-public python-hdf5storage ;; XXX: Use the latest commit containing compatability with Pytest and Python ;; 3.11, see: <https://github.com/frejanordsiek/hdf5storage/issues/135>. - ;; + ;; ;; This package probably is sun setting, consider to remove when stops ;; building, see: <https://github.com/frejanordsiek/hdf5storage/issues/136>. (let ((commit "7ee2a96de134b44beaa79c3a11c559f9ac87c5a6") @@ -11033,6 +11033,15 @@ writing C extensions for Python as easy as Python itself.") ;; Relay on python from the PATH instead of full reference ;; stored in built wheel. (("'py.full_path\\(\\)'") "'python'")))) + ;; This isn't architecture specific. + ;; TODO: Remove this conditional and apply for all builds. + #$@(if (target-ppc64le?) + #~((add-after 'unpack 'patch-bin-true + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "numpy/_core/tests/test_cpu_features.py" + (("/bin/true") + (search-input-file inputs "bin/true")))))) + #~()) (add-before 'build 'parallelize-build (lambda _ (setenv "OMP_NUM_THREAD" |
