Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Nov 2021 00:38:20 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Stephen Montgomery-Smith <montgomerysmithstephen@gmail.com>
Cc:        Brooks Davis <brooks@freebsd.org>, FreeBSD Ports <freebsd-ports@FreeBSD.org>
Subject:   Re: Running out of RAM building devel/llvm13
Message-ID:  <7D697030-8E5F-4B4F-B5E8-A8BE609A1CCA@FreeBSD.org>
In-Reply-To: <23a70169-d986-02c0-6763-61db22c75c0b@FreeBSD.org>
References:  <23a70169-d986-02c0-6763-61db22c75c0b@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_5F6BAE53-34F0-48C3-B9FA-3B44D090BFF9
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 6 Nov 2021, at 23:53, Stephen Montgomery-Smith =
<montgomerysmithstephen@gmail.com> wrote:
>=20
> Does anyone else have the problem of running out of RAM when building =
devel/llvm13?  I have 6 CPUS, 4G of RAM, and 4G of swap.
>=20
> I can solve it by building with MAKE_JOBS_UNSAFE=3Dyes, but then the =
build is so slow.
>=20
> It seems that there is a small part of the build which requires a lot =
of RAM, and it would be nice to restrict just that portion of the build =
to just one CPU.

Try turning off the FLANG option. In my release testing for llvm 13.0.0 =
I found this eats up most of the memory during a build.

-Dimitry


--Apple-Mail=_5F6BAE53-34F0-48C3-B9FA-3B44D090BFF9
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCYYcR7AAKCRCwXqMKLiCW
o83cAKDxIY5Te4a+VBpG3UB+ywZlMxg2aQCgoqhX8qCUHzW1OB/3Fk6/A42HkMk=
=12JV
-----END PGP SIGNATURE-----

--Apple-Mail=_5F6BAE53-34F0-48C3-B9FA-3B44D090BFF9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7D697030-8E5F-4B4F-B5E8-A8BE609A1CCA>