Skip to content

parallel build for package? (equivalent of make -j8)

3 messages · Whit Armstrong, Peter Dalgaard

#
I have a package that takes about 20 minutes to compile which tends to
prolong the compile/test/compile cycle.

Does anyone know how to get R CMD check or R CMD INSTALL to use parallel make?

I looked at R CMD INSTALL --help, but I don't see anything obvious
arguments to do this.

Thanks,
Whit
#
Whit Armstrong wrote:
Platform?

Does

MAKE="make -j8" R CMD INSTALL ...

not work?

(Beware: Here there be Tygers. Parallel makes have their surprises....)
#
linux, x86-64.

omg, MAKE="make -j8" R CMD INSTALL works beautifully.

Thanks for making me see the light.

Cheers,
Whit


On Sun, Nov 30, 2008 at 12:29 PM, Peter Dalgaard
<p.dalgaard at biostat.ku.dk> wrote: