Date: Sat, 29 Jun 2024 06:16:45 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 279908] devel/cmake: autogen (moc/uic) processes don't respect MAKE_JOBS_NUMBER Message-ID: <bug-279908-7788-4JRfS9FKNg@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-279908-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-279908-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279908 Jason E. Hale <jhale@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|Open |Closed --- Comment #6 from Jason E. Hale <jhale@FreeBSD.org> --- (In reply to Anton Saietskii from comment #4) > I can confirm that with the patch, no excess moc processes being spawned. Thanks for confirming! Committed. > BTW, either CMake documentation is incorrect or it's the bug. > I have 1 CPU, 4 physical cores, HT -- and previously, 8 moc processed wer= e spawned, > which doesn't align with "number of threads/processes to the number of ph= ysical CPUs" > in any way. > However, I don't work with CMake extensively, so not willing to report th= is upstream. It's probably more of a documentation bug by means of generalization. CMake= , at least for FreeBSD, uses what is reported by `sysctl -n hw.ncpu` to determine the number of CPUs for this purpose. On my laptop, I also have 1 CPU with 4 physical cores with HT and the output of that command is "8", so it would m= ake sense that up to and including 8 processes would be spawned before this cha= nge. > P.S. I wish someone from gecko@ could review PRs so quick... I don't like commenting on FreeBSD ports teams that I'm not involved with, = but some are way more understaffed than others and sometimes sadly only consist= of one person, so it may take more time for them to address PRs. We at kde@ are currently a relatively robust team and do our best to stay on top of things. Even still, we do miss things such as this and appreciate your report. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279908-7788-4JRfS9FKNg>