mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-cython: Speed up test suite.
* gnu/packages/python-xyz.scm (python-cython)[arguments]: In the CHECK phase,
disable compiler optimizations and enable (some) parallel tests.
(cherry picked from commit e9194eb048
)
This commit is contained in:
parent
18090a9735
commit
275cce3d87
1 changed files with 6 additions and 1 deletions
|
@ -3230,7 +3230,12 @@ provides additional functionality on the produced Mallard documents.")
|
||||||
|
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
(invoke "python" "runtests.py" "-vv"))))))
|
;; Disable compiler optimizations to greatly reduce the running
|
||||||
|
;; time of the test suite.
|
||||||
|
(setenv "CFLAGS" "-O0")
|
||||||
|
|
||||||
|
(invoke "python" "runtests.py" "-vv"
|
||||||
|
"-j" (number->string (parallel-job-count))))))))
|
||||||
(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