From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: Building many packages in order Date: Fri, 21 Oct 2016 15:44:47 -0400 Message-ID: <20161021194447.GB16792@jasmine> References: <5809F448.5030508@crazy-compilers.com> <20161021115302.GA26768@macbook42.flashner.co.il> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fUYQa+Pmc3FrFX/N" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxfkM-0007Dz-9i for guix-devel@gnu.org; Fri, 21 Oct 2016 15:44:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxfkH-0008KU-E0 for guix-devel@gnu.org; Fri, 21 Oct 2016 15:44:54 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:60412) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bxfkH-0008KH-9z for guix-devel@gnu.org; Fri, 21 Oct 2016 15:44:49 -0400 Content-Disposition: inline In-Reply-To: <20161021115302.GA26768@macbook42.flashner.co.il> 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: Efraim Flashner Cc: guix-devel --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 21, 2016 at 02:53:02PM +0300, Efraim Flashner wrote: > On Fri, Oct 21, 2016 at 12:56:08PM +0200, Hartmut Goebel wrote: > > Hi, > >=20 > > testing the new python build system I=E2=80=99m seeking for some way to= build > > *many* packages in order. > >=20 > > Of course I can just run `guix build` with the list of packages to be > > build. But when building all python packages, the list gets rather long > > and does not fit into one call of `guix build` (due to the number of > > arguments xargs passes to the command is restricted). Thus only > > partitions of the packages are build in order. > > =20 > > So I need some way for passing *all* packages to be build to `guix buil= d`. > >=20 > > Any hints? > >=20 >=20 > If you want to build all packages that are python- or python2-, then you > can call 'guix build $(guix package -A ^python | cut -f1)' >=20 > If you want all the packages that rely on python or python-2, then you > can call 'guix build $(guix refresh -l python python@2 | cut -d':' -f2)' >=20 > Both of these as written will stop when they encounter a package that > doesn't build. I'm sure there's also a scheme-y way of doing it. I've been doing this to build all users of pytest, and I passed --keep-going to `guix build`. I think that should work here, right? --fUYQa+Pmc3FrFX/N Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYCnAsAAoJECZG+jC6yn8ICq4P/300XZUMRywFY7p9pmbQTPHo YDo93w43trct5cAHivg4GZbidQT+RzYfStKNX9Puh4PK42RnAXAZGxGDEEc1yroC ZQoyzcy2Qg1KwNCzRM4bVhJttt4x1KvOlhFjQDv7vvOjIAteRQonVgRlNZ6WDdCt aNmMmgNxK9idf4tig5RZb6sJEOHjwF7mUiFJPnAQxwYjkK0fs0I+zA1C1z37099N lwLjx76PNyoT7QT9TbhNjZBMVHktRF8krDwuUblE9YiSIEsmGHjYVCj/7/yiBB3D t2eYgXoeaHIENhsrkkdvu/wV13vJqAMhwT5cpknZ1GsztVcE8U0/Xg2DDcgEtmV0 n2nCLvrMatNvJaB6qgnoaBGLs/XckQtix9lEbsm2sD6tRo7FvKaKT7q4QheynrMb v4T8QP06L+gRq489rRDyS4O8SfNx4GwoF05vCFA9yGY5VO1M8fZYwq17k2IgcoHE 937iCrSPCMSsv18lcp9EER1UznxxFsnC2ijbYJV8uIr4BSVRUljVSEYhtC0+qI/n Mllk9AlTGDP5lNl6OvnN7G1j7E+SvQcM//h/l0doQNNYp2XYfOpbfdY8IDCttX7g 0bIR1WEvuWiyVMDfTvyhkiA3E9O6fq2k9StKA7IzMjfrBoyJxIRmtXebcJih8QtP m/SwWAJfRCDBnhbdRfYC =Bc/L -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N--