[arch-general] Can you test machine to set --jobs[=N] from w/i PKGBUILD?

XeCycle 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.
-- 
抱歉暂时无法详细说明。这份邮件是使用安装有K-9 Mail的Android移动设备发送的。

"David C. Rankin" <drankinatty at suddenlinkmail.com>写到:

Guys,

Is there any way to check the number of cores on a machine to set the number
of jobs within a PKGBUILD?:

make -j'X'

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 mailing list