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:
parent
e1de2b1809
commit
a7771fb7bd
@ -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
|
||||
|
@ -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
9
qt6-webengine/README.md
Normal 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.
|
Loading…
x
Reference in New Issue
Block a user