From: zimoun <zimon.toutoune@gmail.com>
To: help-guix <help-guix@gnu.org>
Subject: offload configuration dependant on context
Date: Thu, 16 Dec 2021 14:24:57 +0100 [thread overview]
Message-ID: <86zgp0hec6.fsf@gmail.com> (raw)
Hi,
For nomadic people as I sometime am, they have sometimes access to
offload build machine, sometimes not. To be concrete,
1. when build machine is reachable, I want to *always* offload;
2. when build machine is not reachable, I accept to burn some CPU.
Well, I can tweak /etc/machines.scm as proposed there [1] to detect
reachable machine.
However, #1 implies daemon option ’--max-jobs=0’ and #2 implies other
daemon configuration as ’--max-jobs=1 --cores=2’. How could I achieve
that? Dynamically speaking.
1: <https://issues.guix.gnu.org/issue/24496#3>
Cheers,
simon
reply other threads:[~2021-12-16 13:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=86zgp0hec6.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=help-guix@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 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.