qt6-webengine: 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 19:40:35 +02:00
parent e1de2b1809
commit a7771fb7bd
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 13 additions and 2 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/SIk7fMZwjIjUi+7c+4cOf71p1ir3kYlgivYrWalUidSvb/tVpIDXweMY3TPueyxI1+W6wLoy0oxlCVC90/cMAo=
SHA256 (Pkgfile) = c9b82f519c9ff70853ec1f8cf5e21c2489b525386db37df247e0a53d6bea850c
RWSE3ohX2g5d/QVkXAdWEZqQYXiKI7E47Iko5OedB6EN/+OUa5OA+I4M4WJJAjHEvmkGbjDYBoG3Fy2pUhUcDoRImH7pLZsXRgM=
SHA256 (Pkgfile) = 531c702c6ebcf380175ec4d17e6f830cf7d85e415a99380c584a285f94710519
SHA256 (.footprint) = 20051f4147eaa997c24894cf7b422905e260436022bab1e1d517cac58f122e4e
SHA256 (qtwebengine-everywhere-src-6.7.2.tar.xz) = c7755875594d8be382b07bf3634d44fd77012805794d8b588891709a6405ffd1
SHA256 (ninja-1.12.patch) = 2f0eb6a69e514c834c295e413473a8cd9855e61a4774a84df001139b319663e3

View File

@ -65,6 +65,8 @@ that, you can attempt to build opt/qt6-webengine again.
cd $SRC
export NINJAFLAGS="-j $(( $(awk '/^MemAvailable:/ {print $2}' /proc/meminfo) / 3000000))"
PYTHON=/usr/bin/python3 \
cmake -S qtwebengine-everywhere-src-$version -B build -G Ninja $PKGMK_QT6 \
-D CMAKE_BUILD_TYPE=Release \

9
qt6-webengine/README.md Normal file
View File

@ -0,0 +1,9 @@
qt6-webengine
=============
## 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.