"guix build --keep-failed" and offloading

  • Open
  • quality assurance status badge
Details
2 participants
  • Léo Le Bouter
  • Ludovic Courtès
Owner
unassigned
Submitted by
Léo Le Bouter
Severity
wishlist
L
L
Léo Le Bouter wrote on 5 Mar 2021 22:22
(address . bug-guix@gnu.org)
8ca6557348b249dd4c9ed6935644fa92aa768276.camel@zaclys.net
Hello!

I noticed using --keep-failed implies that offloading is disabled. For
development of GNU Guix I offload all compilation from my laptop to a
powerful server, not having offload with --keep-failed makes it
troublesome to debug issues.

I don't know if it's easy to implement but would be nice to download
the temporary build directory along with all dependents at the end of
the build instead of disabling offloading.

What do you think?

Thank you
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEFIvLi9gL+xax3g6RRaix6GvNEKYFAmBCoS0ACgkQRaix6GvN
EKaEKA/7BsslCgMf8CBKjCWun5bh6JofrlSMmDC9iZfaAXI7wIP/pbADl9Xc1vga
fQOKTa9ix3l1yvvlaiBbuIpiWZU+R0J4E27T2QXeCHa/ymHhh+nQwwXZfU1PPzRN
LblO28zYlqhK65SuRIY5PupOTiGq82m7TwmvBBhcXg5K1OLSuNSh19Fm8My8N1Kq
RXhgTcnuZH06cLrxjZn09I41nxS6DhhfT/NRQ2HH7XDHcbxWtxyr1icfuQ4XWeXF
DSAx5b4lE6nGN74+DYXRt+yFjzXJqoKV1tSz4SxsdojCOU8HN1GuV3Zz2+SI5n0o
uHTWZUrfYusT76zYR3z+HQoIe0OepjwQz7VgT0CfQIRQr9aOwYWVBIrxIsrHCAZ6
khyai8J+/8BL1yzj42C0omaW7foJ2GztmPAnhCpuoJgPSLzIc/ewW4wmSeyRh2NY
P+/hjQyDkHT7E6tr9Lj+oRLT4YlFGJvCMiyU2cXEr5GYIdPyrIBoJFYuDUUx9gaO
zegvb9S1Ah/MAOf+UAJKhNL0ZgqJiqws6dQlpdAU+DPRsMc/M5e/EvyhiFWl9EqN
W2gOzyB8tZkgU6vYBS8WJh4p7b/bzLrszB9DrrKQnaMJpWvgMi5ylcdGyCgzAktc
ypF9xzfecoZDiP0ji+heYj/M4zKTCLTTWFZUxeNhkv1G+q/imjc=
=EXYS
-----END PGP SIGNATURE-----


L
L
Ludovic Courtès wrote on 6 Mar 2021 11:09
control message for bug #46952
(address . control@debbugs.gnu.org)
87eegsk2ze.fsf@gnu.org
severity 46952 wishlist
quit
L
L
Ludovic Courtès wrote on 6 Mar 2021 11:12
Re: bug#46952: "guix build --keep-failed" and offloading
(name . Léo Le Bouter)(address . lle-bout@zaclys.net)(address . 46952@debbugs.gnu.org)
87a6rgk2u7.fsf@gnu.org
Hi,

Léo Le Bouter <lle-bout@zaclys.net> skribis:

Toggle quote (11 lines)
> I noticed using --keep-failed implies that offloading is disabled. For
> development of GNU Guix I offload all compilation from my laptop to a
> powerful server, not having offload with --keep-failed makes it
> troublesome to debug issues.
>
> I don't know if it's easy to implement but would be nice to download
> the temporary build directory along with all dependents at the end of
> the build instead of disabling offloading.
>
> What do you think?

One could check whether the build tree can be retrieved from (guix
scripts offload); it might be inconvenient, but probably doable.

Thanks,
Ludo’.
?