9 Apr
2023
9 Apr
'23
7:06 a.m.
2023-04-08T20:51:59Z Daryl F <wyatt@prairieturtle.ca>:
After scouring the web for a solution to ninja overrunning my meager RAM when compiling qtwebengine I discovered there is no easy one. People have been looking for a solution for a long time.
Edit your pkgmk.conf to have something like this: [ "$name" = "qtwebengine" ] && JOBS=4 || JOBS=8 export JOBS Pkgfile and pkgmk.conf are still bash scripts, sharing the same "namespace" (they are "sourced-in" by pkgmk in this order). PS. Memory consumption is larger when linking objects. The llvm project has an option to specify the number of parallel link jobs.