[2nd resend due to mailing list problem]

>>>>> "Gavin" == Gavin Maltby <[EMAIL PROTECTED]> writes:

Gavin> I'd also like to see the default scaled with the number of cpus
Gavin> available (remembering some build machines are shared!).

tools/env/opensolaris.sh uses

        # Maximum number of dmake jobs.  The recommended number is 2 + (2 *
        # NCPUS), where NCPUS is the number of CPUs on your build system.
        maxjobs() {
                ncpu=`/usr/sbin/psrinfo -p`
                expr $ncpu \* 2 + 2
        }
        DMAKE_MAX_JOBS=`maxjobs`;                       export DMAKE_MAX_JOBS

mike
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to