Date: Tue, 16 Aug 2022 07:51:49 -0700 From: Mark Millard <marklmi@yahoo.com> To: Nuno Teixeira <eduardo@freebsd.org> Cc: FreeBSD Mailing List <freebsd-ports@freebsd.org> Subject: Re: Resolved: devel/llvm13 build: "ninja: build stopped: subcommand failed" Message-ID: <7E71C213-0EC6-453E-AEA7-68EA257C0938@yahoo.com> In-Reply-To: <CAFDf7UJztLqTjdD_=kt5cZawUvr8y5cjNkKshr27YprQV0Jyeg@mail.gmail.com> References: <1D4C14BD-8955-4B86-9C99-3E58D7603122.ref@yahoo.com> <1D4C14BD-8955-4B86-9C99-3E58D7603122@yahoo.com> <CAFDf7UK-pAFXCrZZA9veASaa-wf9HKMdX52fxmcmDgRFiNOF7A@mail.gmail.com> <7CDC63F3-8B68-420E-8012-B1692667E293@yahoo.com> <B8C17283-0C5E-4D84-B10F-0712B26BDCB9@yahoo.com> <4106D776-402C-45E2-A903-4734DC3FF749@yahoo.com> <CAFDf7UJztLqTjdD_=kt5cZawUvr8y5cjNkKshr27YprQV0Jyeg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2022-Aug-16, at 03:11, Nuno Teixeira <eduardo@freebsd.org> wrote: > *** Sorry about TMPFS(=3Dno) when I want to mention USE_TMPFS(=3Dno). >=20 > Because I was in a hurry and I needed llvm13 package in one of my = jails, I did what you told me and turned off FLANG, MLIR and DOCS (to = avoid textproc/py-sphinx-markdown-tables problem). >=20 > I've used 6c+6t (hw.ncpu: 12) and compiled with success that consumed = ~1GB swap in ~40min. Glad you got a configuration for which the build completed. Using around 16 GiBytes of RAM and 1 GiByte of SWAP still seems odd for having disabled FLANG and MLIR. Could you post your /usr/local/etc/poudriere.conf file content to the list? I wonder if something else could lead to something competing for RAM+SWAP space. Also, if you rebuild at some point, the follow sort of command's output while the SWAP is in active use could be of interest: # df -m | egrep "^(Filesystem|tmpfs) " Filesystem 1M-blocks Used Avail Capacity = Mounted on . . . > Because I only use llvm* as dependencies in poudriere jails for ports = testing I could use a general llvm* options to reduce time and mem+swap = or if I want to stick with default options then I need to use = /usr/local/etc/poudriere.d/make.conf MAKE_JOBS_NUMBER=3Dn to be able to = compile it with my hardware. In the likes of /usr/local/etc/poudriere.d/make.conf you could use something like: .if ${.CURDIR:M*/devel/llvm*} MAKE_JOBS_NUMBER=3D1 .endif to have the MAKE_JOBS_NUMBER assignment only be used for devel/llvm* builds. =3D=3D=3D Mark Millard marklmi at yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7E71C213-0EC6-453E-AEA7-68EA257C0938>