1 |
wabe wrote: |
2 |
> Dale <rdalek1967@×××××.com> wrote: |
3 |
> |
4 |
>> Dale wrote: |
5 |
>>> Howdy, |
6 |
>>> |
7 |
>>> I read where someone did this but I can't find it now. I looked at |
8 |
>>> the wiki and did some startpage searches, no luck. Here goes: |
9 |
>>> |
10 |
>>> I generally let emerge build packages in parallel. This works |
11 |
>>> because a lot of packages are small and don't take long to build or |
12 |
>>> much room either. However, there are a few exceptions. For me, |
13 |
>>> Seamonkey, Firefox and Libreoffice cause issues. I would like |
14 |
>>> those to build one at a time instead of at the same time. I've had |
15 |
>>> times where all three have updates but having two of them at the |
16 |
>>> same time occurs pretty regular. I thought I recalled this needing |
17 |
>>> to be in package.env but my test didn't work. I put this in |
18 |
>>> package.env: |
19 |
>>> |
20 |
>>> www-client/seamonkey MAKEOPTS="-j1" |
21 |
>>> www-client/firefox MAKEOPTS="-j1" |
22 |
>>> |
23 |
>>> Since I'm here, you can guess that emerge didn't like that. So, |
24 |
>>> either I'm putting that in the wrong place, the wrong way or |
25 |
>>> something. Oh, I looked at the wiki and I didn't see things like |
26 |
>>> this. I just went with what little I recalled which seems to be |
27 |
>>> not correct. |
28 |
>>> |
29 |
>>> Can someone point me in the right direction here? Examples would be |
30 |
>>> nice because I may want to disable portage on tmpfs as well, for |
31 |
>>> Libreoffice at least. |
32 |
>>> |
33 |
>>> Thanks |
34 |
>>> |
35 |
>>> Dale |
36 |
>>> |
37 |
>>> :-) :-) |
38 |
>>> |
39 |
>> I found another howto. That ended with this setup: |
40 |
>> |
41 |
>> |
42 |
>> |
43 |
>> root@fireball / # cat /etc/portage/package.env |
44 |
>> www-client/seamonkey ../env/single.conf |
45 |
>> www-client/firefox ../env/single.conf |
46 |
>> |
47 |
>> |
48 |
>> root@fireball / # cat /etc/portage/env/single.conf |
49 |
>> MAKEOPTS="-j1" |
50 |
>> |
51 |
>> |
52 |
>> root@fireball / # |
53 |
>> |
54 |
>> |
55 |
>> >From my reading, I put the setting in the env directory file and |
56 |
>>> the |
57 |
>> package names in package.env. Thing is, it still tries to build them |
58 |
>> both at the same time. Once I get these two to work, I'll add |
59 |
>> libreoffice to it. |
60 |
>> |
61 |
>> My first test gave a error message. I added the ../env/ part and it |
62 |
>> doesn't give a error but it doesn't recognize it either. I'm missing |
63 |
>> something. My eyes ain't real good today, allergies, so I may be not |
64 |
>> seeing something right. |
65 |
> I'm not sure that I understand what you mean. Are you talking about |
66 |
> emerging several packages at the same time and, if so, are you sure |
67 |
> that -j defines how many packages are build simultaneously? |
68 |
> |
69 |
> I know that there exists a FEATURES option for make.conf called |
70 |
> "parallel-install". But I never used this feature or read something |
71 |
> about it, so all I know is that "-j" is an option for the "make" |
72 |
> command. It defines how many jobs are running simultaneously when |
73 |
> you compile a single program. |
74 |
> |
75 |
> -- |
76 |
> Regards |
77 |
> wabe |
78 |
> |
79 |
> |
80 |
|
81 |
|
82 |
I think you are right. I also have this setting in make.conf: |
83 |
|
84 |
EMERGE_DEFAULT_OPTS="--with-bdeps y --backtrack=100 --keep-going -v -j8 |
85 |
--quiet-build=n -1 --unordered-display" |
86 |
|
87 |
I think that is the -j option I want to change. I forgot about the |
88 |
purpose of the other one. I'm pretty sure that one is passed on to make |
89 |
as you said and the one I want to change is the emerge opts. I tested |
90 |
that change, it still didn't work but at least I'm using the right one |
91 |
now. |
92 |
|
93 |
Update on current settings: |
94 |
|
95 |
|
96 |
root@fireball / # cat /etc/portage/package.env |
97 |
www-client/seamonkey ../env/single.conf |
98 |
www-client/firefox ../env/single.conf |
99 |
|
100 |
root@fireball / # cat /etc/portage/env/single.conf |
101 |
EMERGE_DEFAULT_OPTS="-j1" |
102 |
|
103 |
|
104 |
root@fireball / # |
105 |
|
106 |
|
107 |
|
108 |
Thanks Wabe. At least it should be closer. I'm just wondering if I can |
109 |
still do this or not. Maybe it doesn't work that way anymore. |
110 |
|
111 |
Dale |
112 |
|
113 |
:-) :-) |