1 |
On Tuesday 21 March 2006 20:43, Meino Christian Cramer |
2 |
<Meino.Cramer@×××.de> wrote about '[gentoo-user] make -j 4 recoverable ?': |
3 |
> I am going to install Gentoo on my AMD64 X2 3800+ (Dual Core) based |
4 |
> system (x86 not x64!). |
5 |
|
6 |
Ugh. Do you use Solaris? I think Sun is the only company in the world |
7 |
calling amd64 "x64". (Yes, they only call it "x64" if it's amd64, if it's |
8 |
just EMT64 they call it "EMT64".) |
9 |
|
10 |
This is gentoo, boy. 'Round here it's "amd64" for profiles and keywords and |
11 |
"x86_64" for C(HOST|BUILD|TARGET). ;) |
12 |
|
13 |
> With "make -j 4", which I could add to the make flags, compiling is a |
14 |
> lot faster. But some packages may fail to compile. |
15 |
|
16 |
I /think/ you want '-j4' (no space). Unlike the VAST MAJORITY of |
17 |
command-line options -j REQUIRES juxtaposition to accept it's argument. |
18 |
(Heck, non-gnu utilities may or may not even accept juxtaposed |
19 |
parameters.) I suppose this is because -j has a meaning /without/ an |
20 |
argument which is basically -- run me completely out of filehandles |
21 |
spawning a ridiculous number of processes. |
22 |
|
23 |
If you are properly juxtaposing your parameter, the behavior you speak of |
24 |
is truly odd. I've been running -j5 for nearly a year now with few if any |
25 |
problems. The Gentoo developers are nice enough to filter out -j for |
26 |
packages that don't support it well. |
27 |
|
28 |
In any case, you can selectively disable parallel compiles for a particular |
29 |
emerge with MAKEOPTS="-j1" before the command like: |
30 |
MAKEOPTS="-j1" emerge sys-libs/glibc |
31 |
Changing the number of make jobs done in parallel won't (or /shouldn't/) |
32 |
affect what files are installed, so it's perfectly fine to has some |
33 |
packages installed "-j1" and some "-j4". |
34 |
|
35 |
-- |
36 |
"If there's one thing we've established over the years, |
37 |
it's that the vast majority of our users don't have the slightest |
38 |
clue what's best for them in terms of package stability." |
39 |
-- Gentoo Developer Ciaran McCreesh |
40 |
-- |
41 |
gentoo-user@g.o mailing list |