From: Eric Bavier <ericbavier@centurylink.net>
To: Christopher Baines <mail@cbaines.net>
Cc: guix-devel@gnu.org, Eric Bavier <bavier@member.fsf.org>
Subject: Re: 01/01: python: Honor '--cores=...' in tests.
Date: Fri, 14 Dec 2018 11:57:56 -0600 [thread overview]
Message-ID: <20181214115756.0f22bc72@centurylink.net> (raw)
In-Reply-To: <87va3ww1iq.fsf@cbaines.net>
[-- Attachment #1: Type: text/plain, Size: 1905 bytes --]
On Fri, 14 Dec 2018 15:50:37 +0000
Christopher Baines <mail@cbaines.net> wrote:
> Christopher Baines <mail@cbaines.net> writes:
>
> > Eric Bavier <ericbavier@centurylink.net> writes:
> >
> >> 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?
>
> Just got around to testing this, moving this change to python-3.7, from
> python-2.7 fixes the python-2.7 build for me, but I haven't checked
> how that affects how many cores are actually used when running the tests.
Strange. I recall testing this patch on both python2 and python. Not
sure what has changed since then.
`~Eric
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2018-12-14 17:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20181117064344.29159.44615@vcs0.savannah.gnu.org>
[not found] ` <20181117064345.133A42043C@vcs0.savannah.gnu.org>
2018-12-14 15:31 ` 01/01: python: Honor '--cores=...' in tests Christopher Baines
2018-12-14 15:50 ` Christopher Baines
2018-12-14 17:57 ` Eric Bavier [this message]
2018-12-15 17:53 ` Christopher Baines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181214115756.0f22bc72@centurylink.net \
--to=ericbavier@centurylink.net \
--cc=bavier@member.fsf.org \
--cc=guix-devel@gnu.org \
--cc=mail@cbaines.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.