From b26690ea39071e7c9e1bc6a4905c8e8fa613416b Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Fri, 19 Jul 2024 20:40:15 +0200 Subject: [PATCH] qtwebengine: added logic to determine how many jobs are run by ninja, see mailing list thread started by Daryl F --- qtwebengine/.signature | 4 ++-- qtwebengine/Pkgfile | 1 - qtwebengine/README.md | 9 +++++++++ 3 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 qtwebengine/README.md diff --git a/qtwebengine/.signature b/qtwebengine/.signature index 6cd1e4550..e91502ec6 100644 --- a/qtwebengine/.signature +++ b/qtwebengine/.signature @@ -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 diff --git a/qtwebengine/Pkgfile b/qtwebengine/Pkgfile index bd360eed9..eb72da946 100644 --- a/qtwebengine/Pkgfile +++ b/qtwebengine/Pkgfile @@ -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 diff --git a/qtwebengine/README.md b/qtwebengine/README.md new file mode 100644 index 000000000..402183d7d --- /dev/null +++ b/qtwebengine/README.md @@ -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.