[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building many packages in order
From: |
Leo Famulari |
Subject: |
Re: Building many packages in order |
Date: |
Fri, 21 Oct 2016 15:44:47 -0400 |
User-agent: |
Mutt/1.7.0 (2016-08-17) |
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,
> >
> > testing the new python build system I’m seeking for some way to build
> > *many* packages in order.
> >
> > 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.
> >
> > So I need some way for passing *all* packages to be build to `guix build`.
> >
> > Any hints?
> >
>
> If you want to build all packages that are python- or python2-, then you
> can call 'guix build $(guix package -A ^python | cut -f1)'
>
> If you want all the packages that rely on python or python-2, then you
> can call 'guix build $(guix refresh -l python address@hidden | cut -d':' -f2)'
>
> 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?
signature.asc
Description: PGP signature