unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#51991: guix deploy with (with build-locally #f) needlessly syncs build artifacts
@ 2021-11-20  3:58 Maxim Cournoyer
  2021-11-20  4:38 ` Maxim Cournoyer
  0 siblings, 1 reply; 4+ messages in thread
From: Maxim Cournoyer @ 2021-11-20  3:58 UTC (permalink / raw)
  To: 51991

Hello,

While configuring a machine setup for building the packages remotely, I
observed that all substitutes were first retrieved on the local host.

Since the intent is to deploy the remote machine and have it build the
package itself, this is a wasteful use resources.  The remote machine
should fetch the or substitutes or package sources itself.

Thanks,

Maxim




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#51991: guix deploy with (with build-locally #f) needlessly syncs build artifacts
  2021-11-20  3:58 bug#51991: guix deploy with (with build-locally #f) needlessly syncs build artifacts Maxim Cournoyer
@ 2021-11-20  4:38 ` Maxim Cournoyer
  2021-12-17 21:33   ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Maxim Cournoyer @ 2021-11-20  4:38 UTC (permalink / raw)
  To: 51991

Hello,

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> Hello,
>
> While configuring a machine setup for building the packages remotely, I
> observed that all substitutes were first retrieved on the local host.
>
> Since the intent is to deploy the remote machine and have it build the
> package itself, this is a wasteful use resources.  The remote machine
> should fetch the or substitutes or package sources itself.

I'm not sure the above is accurate because near the end of deploy it
only transferred a handful of megabytes.  I suspect it needed something
to compute the derivations locally, perhaps grafts?  For example, I have
openjdk installed on the remote machine, and it was downloaded locally
(more than 100 MiB download IIRC), but it was never transferred, if I
followed correctly.

Sorry to write confusing things; I'm a bit confused myself :-).

Thanks,

Maxim




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#51991: guix deploy with (with build-locally #f) needlessly syncs build artifacts
  2021-11-20  4:38 ` Maxim Cournoyer
@ 2021-12-17 21:33   ` Ludovic Courtès
  2021-12-17 21:42     ` Maxim Cournoyer
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2021-12-17 21:33 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 51991

Hi,

Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:

> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>
>> Hello,
>>
>> While configuring a machine setup for building the packages remotely, I
>> observed that all substitutes were first retrieved on the local host.
>>
>> Since the intent is to deploy the remote machine and have it build the
>> package itself, this is a wasteful use resources.  The remote machine
>> should fetch the or substitutes or package sources itself.
>
> I'm not sure the above is accurate because near the end of deploy it
> only transferred a handful of megabytes.  I suspect it needed something
> to compute the derivations locally, perhaps grafts?  For example, I have
> openjdk installed on the remote machine, and it was downloaded locally
> (more than 100 MiB download IIRC), but it was never transferred, if I
> followed correctly.

Yeah, I’m tempted to tag it as “notabug”.  WDYT?

Ludo’.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#51991: guix deploy with (with build-locally #f) needlessly syncs build artifacts
  2021-12-17 21:33   ` Ludovic Courtès
@ 2021-12-17 21:42     ` Maxim Cournoyer
  0 siblings, 0 replies; 4+ messages in thread
From: Maxim Cournoyer @ 2021-12-17 21:42 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 51991-done

Hello Ludovic,

Ludovic Courtès <ludo@gnu.org> writes:

> Hi,
>
> Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
>
>> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>>
>>> Hello,
>>>
>>> While configuring a machine setup for building the packages remotely, I
>>> observed that all substitutes were first retrieved on the local host.
>>>
>>> Since the intent is to deploy the remote machine and have it build the
>>> package itself, this is a wasteful use resources.  The remote machine
>>> should fetch the or substitutes or package sources itself.
>>
>> I'm not sure the above is accurate because near the end of deploy it
>> only transferred a handful of megabytes.  I suspect it needed something
>> to compute the derivations locally, perhaps grafts?  For example, I have
>> openjdk installed on the remote machine, and it was downloaded locally
>> (more than 100 MiB download IIRC), but it was never transferred, if I
>> followed correctly.
>
> Yeah, I’m tempted to tag it as “notabug”.  WDYT?

Fine by me, closing for now.

Thank you!

Maxim




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-12-17 21:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-20  3:58 bug#51991: guix deploy with (with build-locally #f) needlessly syncs build artifacts Maxim Cournoyer
2021-11-20  4:38 ` Maxim Cournoyer
2021-12-17 21:33   ` Ludovic Courtès
2021-12-17 21:42     ` Maxim Cournoyer

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).