[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/20: gnu: python-cython: Speed up test suite.
From: |
guix-commits |
Subject: |
05/20: gnu: python-cython: Speed up test suite. |
Date: |
Sun, 4 Aug 2019 07:53:26 -0400 (EDT) |
mbakke pushed a commit to branch staging
in repository guix.
commit 275cce3d87fadbf519bd2c8e9badd8bcbf9aa370
Author: Marius Bakke <address@hidden>
Date: Sat Jul 13 18:51:16 2019 +0200
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 e9194eb04896165f15830862c42673e96bc5c5f7)
---
gnu/packages/python-xyz.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6410a13..2538505 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3230,7 +3230,12 @@ provides additional functionality on the produced
Mallard documents.")
(replace 'check
(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/")
(synopsis "C extensions for Python")
(description "Cython is an optimising static compiler for both the Python
- branch staging updated (1dff73a -> 3082280), guix-commits, 2019/08/04
- 01/20: Merge branch 'master' into staging, guix-commits, 2019/08/04
- 02/20: gnu: Remove pcre2/fixed., guix-commits, 2019/08/04
- 05/20: gnu: python-cython: Speed up test suite.,
guix-commits <=
- 06/20: gnu: MariaDB: Disable the TokuDB plugin., guix-commits, 2019/08/04
- 08/20: gnu: ImageMagick: Update to 6.9.10-58., guix-commits, 2019/08/04
- 03/20: gnu: double-conversion: Update to 3.1.5., guix-commits, 2019/08/04
- 13/20: gnu: cups-filters: Update to 1.25.1., guix-commits, 2019/08/04
- 17/20: gnu: perl-cgi: Update to 4.44., guix-commits, 2019/08/04
- 10/20: gnu: python-mako: Update to 1.0.14., guix-commits, 2019/08/04
- 14/20: gnu: gtk+: Update to 3.24.10., guix-commits, 2019/08/04
- 04/20: gnu: perl-try-tiny: Update to 0.30., guix-commits, 2019/08/04
- 07/20: gnu: libwebp: Update to 1.0.3., guix-commits, 2019/08/04
- 09/20: gnu: python-cython: Update to 0.29.13., guix-commits, 2019/08/04