mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-cython: Honor #:tests? flag.
* gnu/packages/python-xyz.scm (python-cython)[arguments]: Adjust custom 'check phase to honor the #:tests? flag.
This commit is contained in:
parent
2de88bcd7a
commit
ab961fe542
1 changed files with 11 additions and 10 deletions
|
@ -5185,16 +5185,17 @@ provides additional functionality on the produced Mallard documents.")
|
||||||
;; time of the test suite.
|
;; time of the test suite.
|
||||||
(setenv "CFLAGS" "-O0")
|
(setenv "CFLAGS" "-O0")
|
||||||
|
|
||||||
(invoke "python" "runtests.py" "-vv"
|
(when tests?
|
||||||
"-j" (number->string (parallel-job-count))
|
(invoke "python" "runtests.py" "-vv"
|
||||||
;; XXX: On 32-bit architectures, running the parallel tests
|
"-j" (number->string (parallel-job-count))
|
||||||
;; fails on many-core systems, see
|
;; XXX: On 32-bit architectures, running the parallel tests
|
||||||
;; <https://github.com/cython/cython/issues/2807>.
|
;; fails on many-core systems, see
|
||||||
,@(if (not (target-64bit?))
|
;; <https://github.com/cython/cython/issues/2807>.
|
||||||
'("-x" "run.parallel")
|
,@(if (not (target-64bit?))
|
||||||
'())
|
'("-x" "run.parallel")
|
||||||
;; This test fails when running on 24 cores.
|
'())
|
||||||
"-x" "cpp_stl_conversion"))))))
|
;; This test fails when running on 24 cores.
|
||||||
|
"-x" "cpp_stl_conversion")))))))
|
||||||
(home-page "https://cython.org/")
|
(home-page "https://cython.org/")
|
||||||
(synopsis "C extensions for Python")
|
(synopsis "C extensions for Python")
|
||||||
(description "Cython is an optimising static compiler for both the Python
|
(description "Cython is an optimising static compiler for both the Python
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue