Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] RAM checks for chromium
Date: Tue, 04 Dec 2018 20:41:44
Message-Id: 3226526.COWF9vM4rJ@dell_xps
In Reply to: Re: [gentoo-user] RAM checks for chromium by Jack
1 On Tuesday, 4 December 2018 19:23:27 GMT Jack wrote:
2 > On 2018.12.04 14:13, Neil Bothwick wrote:
3 > > On Tue, 04 Dec 2018 13:42:16 -0500, Jack wrote:
4 > >>> Given I've spent more than two days compiling to get nowhere with
5 > >>
6 > >>> this, I'm thinking:
7 > >> One thing I've done in the past if something failed after a long
8 > >> time compiling is to cd to the top build dir (under the Portage tmp
9 > >> dir) and just continue the compile (either make or ninja, or
10 > >> whatever that package uses) when/if that finishes, you can use
11 > >> ebuild to finish the install and qmerge steps. That avoids needing
12 > >> to start the compile from the beginning.
13 > >
14 > > You can use ebuild for that too, with the compile option. I've have
15 > > the chromium build fail for apparently random reasons on my laptop
16 > > from time to time and ebuild ... compile finishes the process.
17 >
18 > Unless I'm mistaken, "ebuild /path/to/ebuild compile" does avoid
19 > redoing the unpack, prepare, and configure steps, but it starts the
20 > compile from scratch. Manually doing "make" (or whatever) in the
21 > appropriate directory avoids repeating those parts of the compile that
22 > were successful. If the compile takes two days, that's a significant
23 > savings in time.
24 >
25 > Jack
26
27 Phew! The chromium emerge completed with -j1, although it took 4 hours longer
28 than last time on one PC and 6.5 hours longer on another. I hope one day
29 ebuilds/compilers will be clever enough to deduce a suitable job number a
30 system will run without thrashing swap aimlessly, on a per package basis.
31 Some versions of chromium compile fine with -j3, others seem to be so hungry
32 on RAM they would need -j2. I think this must be the first time with chromium
33 I had to drop the job number down to 1.
34
35 Thank you again for all the pointers and ideas.
36 --
37 Regards,
38 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] RAM checks for chromium Adam Carter <adamcarter3@×××××.com>