You are not logged in.
Hello,
I notice that make is rarely used with -j options to parallelize build steps. which can result in a VERRY long build even on an 8 core and fast CPU (for example for package linux-rt{,-lts}).
Is there any issue in guessing how many processors and trying to prallelize builds with make while in another hand cargo build tool parallelizes?
If I create my own make based PKGBUILD should I keep unparallelized or ont?
Last edited by floreal (2021-03-05 14:24:48)
Offline
You should NOT use -j, unless it's -j1 for builds that don't work in parallel. You should be setting MAKEFLAGS in makepkg.conf
Offline
Oh! Thanks! I think I understand. That would let the user customize make options. I was unaware of this makepkg.conf
Offline
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline