[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/12: gnu: python2-cython: Exclude parallel tests on i686 systems.
From: |
guix-commits |
Subject: |
12/12: gnu: python2-cython: Exclude parallel tests on i686 systems. |
Date: |
Thu, 19 Mar 2020 03:48:26 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit baab9eef27994575e3ce1ba7efb822725600f748
Author: Marius Bakke <address@hidden>
AuthorDate: Thu Mar 19 08:29:06 2020 +0100
gnu: python2-cython: Exclude parallel tests on i686 systems.
* gnu/packages/python-xyz.scm (python2-cython)[arguments]: When building on
i686-linux, override the 'check' phase.
---
gnu/packages/python-xyz.scm | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 86e87ae..07199aa 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3685,6 +3685,18 @@ writing C extensions for Python as easy as Python
itself.")
(substitute-keyword-arguments (package-arguments base)
((#:phases phases)
`(modify-phases ,phases
+ ;; XXX: On i686-linux, running the parallel tests fails on
many-core
+ ;; systems, see <https://github.com/cython/cython/issues/2807>.
+ ;; TODO: Move this logic to the regular check phase in a future
+ ;; rebuild cycle.
+ ,@(if (string-prefix? "i686" (%current-system))
+ '((replace 'check
+ (lambda _
+ (setenv "CFLAGS" "-O0")
+ (invoke "python" "runtests.py" "-vv"
+ "-j" (number->string (parallel-job-count))
+ "-x" "run.parallel"))))
+ '())
(add-before 'check 'adjust-test_embed
(lambda _
(substitute* "runtests.py"
- 02/12: gnu: OpenSSL: Update replacement to 1.1.1e [fixes CVE-2019-1551]., (continued)
- 02/12: gnu: OpenSSL: Update replacement to 1.1.1e [fixes CVE-2019-1551]., guix-commits, 2020/03/19
- 01/12: build-self: Import (ice-9 threads) in the compute-guix-derivation script., guix-commits, 2020/03/19
- 03/12: gnu: git: Update to 2.25.2., guix-commits, 2020/03/19
- 06/12: gnu: dav1d: Update to 0.6.0., guix-commits, 2020/03/19
- 05/12: gnu: libsoup: Update to 2.70.0., guix-commits, 2020/03/19
- 07/12: gnu: libwpe: Update to 1.6.0., guix-commits, 2020/03/19
- 08/12: gnu: wpebackend-fdo: Update to 1.6.0., guix-commits, 2020/03/19
- 04/12: gnu: libsecret: Update to 0.20.2., guix-commits, 2020/03/19
- 09/12: gnu: RocksDB: Update to 6.7.3., guix-commits, 2020/03/19
- 10/12: gnu: varnish: Update to 6.4.0., guix-commits, 2020/03/19
- 12/12: gnu: python2-cython: Exclude parallel tests on i686 systems.,
guix-commits <=
- 11/12: gnu: git: Enable parallel tests., guix-commits, 2020/03/19