Deck Pickard <deck.r.pick...@gmail.com> skribis: > On 23 Nov 2014 21:49, "Ludovic Courtès" <l...@gnu.org> wrote: >> >> Deck Pickard <deck.r.pick...@gmail.com> skribis: >> >> > From 8e297904d80b39cd510ba0cced37acdb9b1aeb89 Mon Sep 17 00:00:00 2001 >> > From: nebuli <nebu@kipple> >> > Date: Sat, 22 Nov 2014 19:58:24 +0100 >> > Subject: [PATCH 2/4] guix build: Add --max-jobs option (without handling >> > code). >> > >> > * doc/guix.texi: Mention in the docs. >> > * guix/scripts/build.scm: Extend (show-build-options-help) and >> > (%standard-build-options) functions. >> >> Actually I had overlooked that this patch does nothing. :-) >> >> Could you send an updated version that passes the right option to >> ‘set-build-options’? >> > > No. Using '-c 0 -M 0' fails with cryptic message.
Setting max-jobs to 0 leads to: --8<---------------cut here---------------start------------->8--- guix build: error: build failed: unable to start any build; either increase `--max-jobs' or enable distributed builds --8<---------------cut here---------------end--------------->8--- That’s expected because it really asks for zero locally running build jobs (something that is useful, for instance, on a Hydra front-end.) Commit f6526eb addresses that in a simple way. Thanks, Ludo’.