unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: Efraim Flashner <efraim@flashner.co.il>
Cc: guix-devel@gnu.org
Subject: Re: 02/03: gnu: openblas: Update architectures we provide substitutes for.
Date: Sat, 03 Jun 2023 20:12:48 +0100	[thread overview]
Message-ID: <87ttvo49wh.fsf@cbaines.net> (raw)
In-Reply-To: <ZHuNlOSAZC_aMgIe@3900XT>

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


Efraim Flashner <efraim@flashner.co.il> writes:

> On Fri, Jun 02, 2023 at 11:03:42PM +0100, Christopher Baines wrote:
>> 
>> guix-commits@gnu.org writes:
>> 
>> > efraim pushed a commit to branch master
>> > in repository guix.
>> >
>> > commit 076688fa1e41a09f034a80e1a593bac43f1f1482
>> > Author: Efraim Flashner <efraim@flashner.co.il>
>> > AuthorDate: Thu Jun 1 11:06:00 2023 +0300
>> >
>> >     gnu: openblas: Update architectures we provide substitutes for.
>> >
>> >     * gnu/packages/maths.scm (openblas)[arguments]: Adjust the substitutable?
>> >     flag to only not provide substitutes when building for powerpc-linux.
>> >     Adjust the comment accordingly.
>> > ---
>> >  gnu/packages/maths.scm | 11 ++---------
>> >  1 file changed, 2 insertions(+), 9 deletions(-)
>> 
>> I've been looking at why armhf-linux substitute availability has been
>> dropping recently, and I think this change triggered a lot of
>> rebuilds. Could this have gone to core-updates?
>> 
>> → guix refresh -l openblas
>> Building the following 2282 packages would ensure 5596 dependent packages are rebuilt: ...
>
> It's not that it's triggered rebuilds, but that it's triggered builds.
> It's also triggered builds on powerpc64le and riscv64. Before any
> package which had openblas as a transitive dependency wasn't built by
> the CI because it wasn't substitutable¹. People still have the option of
> using package transformations to use openblas tuned for the cortex a7 or
> a15 on armhf, but in reality this just unlocks substitutes for those
> ~5600 packages which wasn't available before.
>
> ¹ We saw this in the past briefly in the past when openzfs made its way
> as a dependency to qemu and through that to Gnome.

Ok, so the documentation does mention "rebuilding", and I do see that
indeed ci.guix.gnu.org doesn't build not substitutable things.

Although I think it doesn't apply recursively. Take qjson, guix refresh
-l tells me it's dependent on openblas, and looking back at say this
output [1] for powerpc64le-linux, that's available from both
ci.guix.gnu.org. Which makes sense, as that derivation is substitutable,
even though one of it's inputs isn't.

1: https://data.guix.gnu.org/gnu/store/fibiwzyz8s899ccpix5zs6r2pcdpxk5b-qjson-0.9.0

Maybe on the client side this works differently, and guix won't
substitute things which have a non substitutable input?

Assuming ci.guix.gnu.org was building things for armhf-linux, I think
this would have still caused ~5596 rebuilds, and as I say, I think for
systems like powerpc64le-linux, I think it did cause ~5596
rebuilds.

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

  reply	other threads:[~2023-06-03 19:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <168560801502.2735.15747711991420829133@vcs2.savannah.gnu.org>
     [not found] ` <20230601082655.B4449C23EC5@vcs2.savannah.gnu.org>
2023-06-02 22:03   ` 02/03: gnu: openblas: Update architectures we provide substitutes for Christopher Baines
2023-06-03 18:59     ` Efraim Flashner
2023-06-03 19:12       ` Christopher Baines [this message]
2023-06-05  8:01         ` Efraim Flashner
2023-06-05 11:48           ` Josselin Poiret
2023-06-07 13:54           ` Christopher Baines

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=87ttvo49wh.fsf@cbaines.net \
    --to=mail@cbaines.net \
    --cc=efraim@flashner.co.il \
    --cc=guix-devel@gnu.org \
    /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).