[Slackbuilds-users] JOBS variable support, and Slamd64 patches handling
Patrick J. Volkerding
volkerdi at slackware.com
Sun Mar 23 12:02:33 EDT 2008
Carlos Corbacho wrote:
> On Sunday 23 March 2008 11:34:57 Aleksandar Samardzic wrote:
>> 1. As for JOBS variable support, the idea is to have variable defined
>> at the start of SlackBuild as follows:
>> JOBS=${JOBS:1}
>> and then to change "make" invocation to:
>> make -j ${JOBS}
>> with the intention to allow to users having multi-core machines to
>> speed-up compilation times significally. This is actually something
>> that I intended to suggest to adding to SlackBuild script template
>> long time ago, so - any opinions?
>
> Obviously, I'm in favour of this :). (In cases where this breaks things, I'd
> like to see the maintainers put a note in the SlackBuild that this is the
> case so that they don't get plagued by helpful souls trying to keep adding
> multiple job support to a given SlackBuild, but that should only be for a
> minority of cases).
If $JOBS support is added, I think 3 is a more reasonable default than
1. It's probably going to be slightly faster even on a single core box.
Take care,
Pat
More information about the Slackbuilds-users
mailing list