[arch-general] Can you test machine to set --jobs[=N] from w/i PKGBUILD?
xecycle at gmail.com
Sun Apr 1 01:03:37 EDT 2012
should be the latter. some don't want the system too heavily loaded by building a package, so they may prefer building without parallel enabled.
"David C. Rankin" <drankinatty at suddenlinkmail.com>写到：
Is there any way to check the number of cores on a machine to set the number
of jobs within a PKGBUILD?:
I have some dual-core and some quad-core boxes and the difference between -j2
and -j4 on build time is tremendous. However, for generically creating a source
package to be used by someone else, I can't hardcode the jobs number. Anyway to
test in pkgbuild or is this just a per box makepkg.conf issue?
David C. Rankin, J.D.,P.E.
More information about the arch-general