From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Baines Subject: Re: 01/01: python: Honor '--cores=...' in tests. Date: Fri, 14 Dec 2018 15:31:17 +0000 Message-ID: <87y38sw2ey.fsf@cbaines.net> References: <20181117064344.29159.44615@vcs0.savannah.gnu.org> <20181117064345.133A42043C@vcs0.savannah.gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55933) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXpQz-0003DO-9a for guix-devel@gnu.org; Fri, 14 Dec 2018 10:31:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXpQw-0003iR-0M for guix-devel@gnu.org; Fri, 14 Dec 2018 10:31:25 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:53260 helo=mira.cbaines.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXpQv-0003h2-PA for guix-devel@gnu.org; Fri, 14 Dec 2018 10:31:21 -0500 In-reply-to: <20181117064345.133A42043C@vcs0.savannah.gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Eric Bavier Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eric Bavier writes: > bavier pushed a commit to branch core-updates-next > in repository guix. > > commit 5b01b6034aeab32a5011c5757f18bd9772d3497d > Author: Eric Bavier > Date: Thu Nov 1 21:18:41 2018 -0500 > > python: Honor '--cores=3D...' in tests. >=20=20=20=20=20 > * 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=3Ducs4" > (string-append "LDFLAGS=3D-Wl,-rpath=3D" > (assoc-ref %outputs "out") "/lib")) > + ;; With no -j argument tests use all available cpus, so provide o= ne. > + #:make-flags > + (list (format #f "EXTRATESTOPTS=3D-j~d" (parallel-job-count))) >=20=20 > #: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=3D/tmp/guix-build-python2-2.7.15.drv-0/Python-2.7.15 ./py= thon -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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlwTzMVfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9Xc3DBAApXyw3IYzJOZyCYe98Fn7Mo7Wj1DnEfq/BM23TLDaVdCWVbgsFmD2+Zbq RbwP+ZNZic6mldMBBNTsDTAvcYmTqriqGozvFyI/3lSmDPLOZTDaAlZA8w8EO3S6 cwrXaEEfcLtSq+QM1FKwgn0Q8pgoPbMe+LjuAtejF74PGB14T6H6Og/uZJ2EspP1 cIy+QpXAbY2AI6T/Mqr9sTxzRBKFOv/Nz2+F0mEf7z6L+mZ2G51QAGbFOv2zsx/8 yxld3kx3e+MDw7lbrjxQpD/QPDC4QTic1SLL0l9mmLSxWQ8b8XHob8tKc7ZTvbX8 an0DZexoDx7nlasIpcU0v3NkDrFtp4MLn9IVT75co2qfU6CmQa2P3bWtRQFp/8Ix Ayi6kXPpJhZlI+x9gwS4oMSMyZlNXyJRw7oT9It77qwu9QOyjhVI0bByKr2ddPg0 O7ZjBsTQHNH1ahrjBgkyfoRGElnLJANZP1wNouO6ts4yJQ4gdyjMu7ZSm8ZZedds wCG84FoScrFynlfyVv0lQGr8nqRdzETZUvuVxylFtSIzwIbE6uEVSHoNbyK3+dLL aPsbuM6EVJDhvWKBSWHFUnnlUGOIbBXfcN0Rblbm4FvBiEtIZa+G5LLlT1b36e1Y DOTG7LnLBkTzeX74TNCkjpaeirmwVukCrLYwIvwRf8kWXOw26VM= =Rc91 -----END PGP SIGNATURE----- --=-=-=--