[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 01/01: python: Honor '--cores=...' in tests.
From: |
Christopher Baines |
Subject: |
Re: 01/01: python: Honor '--cores=...' in tests. |
Date: |
Fri, 14 Dec 2018 15:31:17 +0000 |
User-agent: |
mu4e 1.0; emacs 26.1 |
Eric Bavier <address@hidden> writes:
> bavier pushed a commit to branch core-updates-next
> in repository guix.
>
> commit 5b01b6034aeab32a5011c5757f18bd9772d3497d
> Author: Eric Bavier <address@hidden>
> Date: Thu Nov 1 21:18:41 2018 -0500
>
> python: Honor '--cores=...' in tests.
>
> * gnu/packages/python.scm (python-2.7)[arguments]: Add #:make-flags.
> ---
> gnu/packages/python.scm | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 2b6a064..46ce0dd 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -190,6 +190,9 @@
> "--enable-unicode=ucs4"
> (string-append "LDFLAGS=-Wl,-rpath="
> (assoc-ref %outputs "out") "/lib"))
> + ;; With no -j argument tests use all available cpus, so provide one.
> + #:make-flags
> + (list (format #f "EXTRATESTOPTS=-j~d" (parallel-job-count)))
>
> #:modules ((ice-9 ftw) (ice-9 match)
> (guix build utils) (guix build gnu-build-system))
Hi Eric,
I'm having trouble building the python2 package on core-updates (which
was renamed from core-updates-next), and I think it relates to this
change.
This is roughly the issue I'm seeing:
LD_LIBRARY_PATH=/tmp/guix-build-python2-2.7.15.drv-0/Python-2.7.15 ./python
-Wd -3 -E -tt ./Lib/test/regrtest.py -l -j12
-l and -j don't go together!
Since all the python packages look to inherit from python-2.7 that's
being changed here, perhaps this worked for some of them (I know you
mentioned python-minimal in one message), but not all of them, or at
least python2?
Thanks,
Chris
signature.asc
Description: PGP signature
- Re: 01/01: python: Honor '--cores=...' in tests.,
Christopher Baines <=