Gentoo Archives: gentoo-portage-dev

From: litlle girl <little.linux.girl@×××××.com>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] paraller compile portage improvement (package number of threads mark)
Date: Sat, 02 Aug 2008 10:14:59
1 Hi all,
3 There are lots of portage packages that hasn't got jobserver, (i.e. gcc,
4 firefox...)
5 and can be compiled only at one thread/core.
6 This is waste of time and resources on dualcore/quadcore cpus.
9 How about mark packages with number of threads it can be compiled ?
10 (ie.
11 T0 - no limits of threads,
12 T1 - 1 thread,
13 --------
14 Tn - n threads)
16 Iproved emerge command will be able to compile two or more packages
17 (each 1 thread marked) at the same time (if this packages don't depend on
18 each other).
19 Then wait until compilation ends, and start multithread marked packages
20 compilaton.
22 Packages can be sort to compile one core/thread packages at the same time.
24 This can be good solution until programers change code to multi thread
25 compile.
27 Regs,
28 LLG


Subject Author
Re: [gentoo-portage-dev] paraller compile portage improvement (package number of threads mark) "Patrick Börjesson" <psychotical@×××××××.com>