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 08:47:47
Message-Id: 2242407.4WviNIMaRH@dell_xps
In Reply to: Re: [gentoo-user] RAM checks for chromium by Alexander Kapshuk
1 On Tuesday, 4 December 2018 08:06:22 GMT Alexander Kapshuk wrote:
2 > On Tue, Dec 4, 2018 at 9:35 AM Mick <michaelkintzios@×××××.com> wrote:
3 > > Two Intel systems with 4G RAM failed to build chromium, even after setting
4 > >
5 > > MAKEOPTS="-j2". The ebuild is checking for a minimum of 3G RAM:
6 > > >>> Running pre-merge checks for www-client/chromium-70.0.3538.110
7 > >
8 > > * Checking for at least 3 GiB RAM ... [ ok
9 > > ]
10 > > * Checking for at least 5 GiB disk space at "/var/tmp/portage/www-client/
11 > >
12 > > chromium-70.0.3538.110/temp" ... [ ok
13 > > ]
14 > >
15 > > Given I've spent more than two days compiling to get nowhere with this,
16 > > I'm
17 > > thinking:
18 > >
19 > > a) Chromium probably needs more than 3G now.
20 > > b) Either the ebuild, or portage, ought to check available RAM and
21 > > dynamically adjust the number of jobs accordingly - or have I watched too
22 > > many AI movies?
23 > >
24 > > --
25 > > Regards,
26 > > Mick
27 >
28 > You're right. Chromium does require more than 3G of RAM to build.
29 > Here are the current system requirements for building Chromium on Linux:
30 >
31 > System requirements
32 > A 64-bit Intel machine with at least 8GB of RAM. More than 16GB is
33 > highly recommended.
34
35 OK it figures, an AMD system with 16G RAM and /var/portage/ on a tmpfs had no
36 problem.
37
38
39 > At least 100GB of free disk space.
40
41 O_O What the ... ?
42
43
44 > You must have Git and Python v2 installed already.
45 >
46 > See the link below for details.
47 > https://chromium.googlesource.com/chromium/src/+/HEAD/docs/linux_build_instr
48 > uctions.md#system-requirements
49
50 Thanks for this. It may be I'll need to build chromium as a binary on the
51 faster PC from now on and copy it over to the older clients, but I can't
52 recall what command spews out the detailed CFLAGS for the client which I will
53 need to run on the faster host's CLI to emerge the binary. Grateful for any
54 hints.
55
56 --
57 Regards,
58 Mick

Attachments

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

Replies

Subject Author
Re: [gentoo-user] RAM checks for chromium Raffaele Belardi <raffaele.belardi@××.com>
Re: [gentoo-user] RAM checks for chromium Alexander Kapshuk <alexander.kapshuk@×××××.com>