Another option is to encourage users to run `npm config set jobs 8`
(replace 8 with an appropriate number of CPU cores to use in parallel).


On Thu, Jun 26, 2014 at 7:43 PM, mscdex <[email protected]> wrote:

> On Thursday, June 26, 2014 5:03:34 PM UTC-4, AT wrote:
>>
>>
>> and it works great for development. I'd like end-users who install my
>> addon to have the same speedup when they install with `npm install`. Is
>> this possible?
>>
>
> Not really. I usually just have the environment variable `JOBS` set to the
> number of cores (in my bashrc for example), that way all compilation gets
> finished faster and I never have to remember to set `--jobs` manually.
>
> --
> Job board: http://jobs.nodejs.org/
> New group rules:
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
> Old group rules:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nodejs/21b5cf42-7ae1-4957-9ce3-6a963b13124b%40googlegroups.com
> <https://groups.google.com/d/msgid/nodejs/21b5cf42-7ae1-4957-9ce3-6a963b13124b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CAN5MXofKprXwXNEsbQLyTJRaAHN%2B3CCadCh0rXXQur4DqTjjHA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to