Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2012 13:16:01 +0300
From:      Vitaly Magerya <vmagerya@gmail.com>
To:        Svyatoslav Lempert <svyatoslav.lempert@gmail.com>
Cc:        Michael Scheidell <scheidell@freebsd.org>, freebsd-ports@freebsd.org
Subject:   Re: how to find the number of processor cores
Message-ID:  <4FB37E61.5030500@gmail.com>
In-Reply-To: <CAERaTk-JKJ22W=WBsYpaNfys=HbR7KHFBbwrM_d0cwkSmRYwVA@mail.gmail.com>
References:  <CAERaTk_7s%2Bk-Z3fKr31uYf=ry0oio_qmgfJMKPACT0yK832qqg@mail.gmail.com> <4FB36669.8060803@FreeBSD.org> <CAERaTk-JKJ22W=WBsYpaNfys=HbR7KHFBbwrM_d0cwkSmRYwVA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Svyatoslav Lempert wrote:
>> Try to describe why/ and why you want to do this.
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=167953
> 
>> Try:
>>
>> CPUS!= ${SYSCTL} -n kern.smp.cpus

What if the package was built on one machine, but is installed on
another one? The number of CPUs during the build is meaningless; you
need to test for those at runtime (or find another workaround).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FB37E61.5030500>