all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: Leo Famulari <leo@famulari.name>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Building many packages in order
Date: Sat, 22 Oct 2016 18:47:04 +0300	[thread overview]
Message-ID: <20161022154704.GB26768@macbook42.flashner.co.il> (raw)
In-Reply-To: <20161021194447.GB16792@jasmine>

[-- Attachment #1: Type: text/plain, Size: 1876 bytes --]

On Fri, Oct 21, 2016 at 03:44:47PM -0400, Leo Famulari wrote:
> 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 python@2 | 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?

I suppose it depends on if you want to fix each build error as it
happens. There's not a way that I can think of to say "only build the
ones that build successfully on hydra" or "print me a list of successes
and failures at the end"


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

  reply	other threads:[~2016-10-22 15:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-21 10:56 Building many packages in order Hartmut Goebel
2016-10-21 11:18 ` Roel Janssen
2016-10-21 12:15   ` Hartmut Goebel
2016-10-21 11:53 ` Efraim Flashner
2016-10-21 12:23   ` Hartmut Goebel
2016-10-21 19:44   ` Leo Famulari
2016-10-22 15:47     ` Efraim Flashner [this message]
2016-10-23 17:10       ` Hartmut Goebel
2016-10-24 13:56 ` Ricardo Wurmus
2016-11-06 16:04   ` Hartmut Goebel

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=20161022154704.GB26768@macbook42.flashner.co.il \
    --to=efraim@flashner.co.il \
    --cc=guix-devel@gnu.org \
    --cc=leo@famulari.name \
    /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.