From armstrong.whit at gmail.com  Sun Nov 30 19:30:56 2008
From: armstrong.whit at gmail.com (Whit Armstrong)
Date: Sun, 30 Nov 2008 13:30:56 -0500
Subject: [Rd] parallel build for package? (equivalent of make -j8)
In-Reply-To: <4932CD8A.6000402@biostat.ku.dk>
References: <8ec76080811300725v1021f0b2l987da0db33c2f961@mail.gmail.com>
	<4932CD8A.6000402@biostat.ku.dk>
Message-ID: <8ec76080811301030o62d88b95h8233ecd5499a46db@mail.gmail.com>

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:
> Whit Armstrong wrote:
>>
>> 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.
>
> Platform?
>
> Does
>
> MAKE="make -j8" R CMD INSTALL ...
>
> not work?
>
> (Beware: Here there be Tygers. Parallel makes have their surprises....)
>
> --
>   O__  ---- Peter Dalgaard             ?ster Farimagsgade 5, Entr.B
>  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
>  (*) \(*) -- University of Copenhagen   Denmark      Ph:  (+45) 35327918
> ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)              FAX: (+45) 35327907
>


[Rd] parallel build for package? (equivalent of make -j8)
Whit Armstrong