[racket-dev] A grab-bag of issues
I'll adjust the default Makefile target so that if CPUS=<N> is
provided, then it recurs with both `-j <N>' and `PLT_SETUP_OPTIONS="-j
<N>".'
At Fri, 5 Jul 2013 11:12:23 -0500, Robby Findler wrote:
> You could set PLT_SETUP_OPTIONS to "-j <N>".
>
> Robby
>
>
> On Fri, Jul 5, 2013 at 11:07 AM, Sam Tobin-Hochstadt <samth at ccs.neu.edu>wrote:
>
> > On Fri, Jul 5, 2013 at 11:22 AM, Matthew Flatt <mflatt at 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
> >