On Fri, Jul 5, 2013 at 11:22 AM, Matthew Flatt <mfl...@cs.utah.edu> wrote:
>
>> * Similarly, that build shows that Racket detects itself as having
>> many more CPUs than it actually has.
>
> On Linux, the processor count comes from sysconf(_SC_NPROCESSORS_ONLN).
> Should Racket use something else?

I talked to the Travis people, and it's just a limitation of the
virtualization software they're using, that it reports the underlying
hardware number.

This suggests that maybe there should be a CPU=N argument to the
top-level Makefile to control how many processors `raco setup` uses.
Annoyingly, this can't be detected from the -j argument to `make` [1].

Sam

[1] http://stackoverflow.com/q/10898528/349661
_________________________
  Racket Developers list:
  http://lists.racket-lang.org/dev

Reply via email to