qtwebengine: added logic to determine how many jobs are run by ninja, see mailing list thread started by Daryl F

This commit is contained in:
Tim Biermann 2024-07-19 20:40:15 +02:00
parent a7771fb7bd
commit b26690ea39
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 11 additions and 3 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/fWEqDqObZNvc/HGuRAU6ZGnVO/N8XBiw+HhcIvX8sf547tKFtOM3a+kR43C9MrPnJiU+7wSeAV2dFsnOIYLYQg=
SHA256 (Pkgfile) = 88b21a5919f7085f31f6402d87819b1fd578ebd82b98053a1372a475fe8a817b
RWSE3ohX2g5d/XhVyLZFjnY+KjNmfJfRXpd4UoG9Z94dtS0VbWB3GMa41ewkXlroA0Ptng+fU96cSdlafErbEsSrUJRHfHhe/Qg=
SHA256 (Pkgfile) = 4509ecbd8a11242318d2e4545e4e0724e06b8739c2b8c2412e8387cb4f4e9218
SHA256 (.footprint) = 9c07e0209b90e6d45f593e30c0b5342a594c32de974cc61990189f9e80f4a21a
SHA256 (qtwebengine-63d4e58009c7f069ace14b64f1528ba2664272e9.tar.gz) = fc6ec3c58bcdb65ed49a0fe8f16fa0ef8a0dc3a7e43204cfc41c4c841e7b8d72
SHA256 (qtwebengine-chromium-fdfef5b37af3bed8402d7c7e20a5487f2602b0a6.tar.gz) = a81ef886232a102f538f8c8dac0d0137a15b641816a6d89c6621e8bfbb8b1490

View File

@ -69,7 +69,6 @@ build() {
prt-get isinst pulseaudio && sed -e '/link_pulseaudio/s/false/true/' \
-i src/3rdparty/chromium/media/media_options.gni
# Ninja, by default, sets the number of jobs to the number of availalble threads
test -n "$JOBS" && export NINJAFLAGS+=" -j ${JOBS-1}"
# since 5.15.14 unsupported

9
qtwebengine/README.md Normal file
View File

@ -0,0 +1,9 @@
qtwebengine
===========
## Building
If you run into the case that your determined job count for ninja is 0,
please see attached link to a thread on our mailing list about
[qt6-webengine: controlling ninja resource usage](https://lists.crux.nu/hyperkitty/list/crux@lists.crux.nu/thread/UIMQM7IA3Y7AWPWKAYZW6GYQ2G7FOBSC/)
that explains why this might happen.