unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: swedebugia <swedebugia@riseup.net>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: guix build--rounds=N does not behave as expected
Date: Mon, 31 Dec 2018 13:27:53 +0100	[thread overview]
Message-ID: <87pnthg9ti.fsf@elephly.net> (raw)
In-Reply-To: <d733e221-d0f3-a67e-c560-fa16a96887d0@riseup.net>


Hi swedebugia,

“guix build --rounds=N” builds the package N times if it hasn’t already
been built.  With grafts enabled this would be the graft derivation,
which isn’t very useful.

If the package has previously been built, however, it won’t rebuild the
package.  That’s why we have “--check”.

> I really think we should signal a helpful error to the user if only
> --rounds=N is specified and --check is missing.

Using “--rounds” without “--check” is correct.  There should not be an
error or a warning in that case.

--
Ricardo

  reply	other threads:[~2018-12-31 12:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-31 10:39 guix build--rounds=N does not behave as expected swedebugia
2018-12-31 12:27 ` Ricardo Wurmus [this message]
2018-12-31 16:52   ` Arun Isaac
2018-12-31 17:23   ` swedebugia

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pnthg9ti.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=guix-devel@gnu.org \
    --cc=swedebugia@riseup.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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).