Gentoo Archives: gentoo-portage-dev

From: Marius Mauch <genone@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Max parallelization setting
Date: Tue, 10 Oct 2006 15:22:51
Message-Id: 20061010172707.580b94c4@sheridan.genone.homeip.net
In Reply to: [gentoo-portage-dev] Max parallelization setting by Brian Harring
1 On Tue, 10 Oct 2006 00:04:57 -0700
2 Brian Harring <ferringb@×××××.com> wrote:
3
4 > I might be daft (likely), but why not just introduce a var indicating
5 > max parallelization instead? Tweak portage to push that setting into
6 > MAKEOPTS="${MAKEOPTS+${MAKEOPTS} } -j${PARALLELIZATION}".
7 >
8 > Might sound daft, but -j is hardcoded parallelization; if you're
9 > trying to run 3 build processes, the original var of -j isn't all
10 > that useful, nor will the hardcoded -j# var set for 3 package build
11 > processes be useful if you're doing a single build.
12 >
13 > Depending on number of seperate package build processes possible, the
14 > # of build processes allocated per build process needs to vary
15 > (essentially).
16
17 Seems useful as *alternative* to the low level vars, but shouldn't
18 replace them (so if the low level vars are set they override the global
19 setting). So the order in your MAKEOPTS assignment above would have to
20 be reversed (assuming sequential option parsing).
21
22 Marius
23
24 --
25 Public Key at http://www.genone.de/info/gpg-key.pub
26
27 In the beginning, there was nothing. And God said, 'Let there be
28 Light.' And there was still nothing, but you could see a bit better.
29 --
30 gentoo-portage-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-portage-dev] Max parallelization setting Brian Harring <ferringb@×××××.com>