[R-sig-hpc] Makevars.in - changing compiler

Davor Cubranic cubranic at stat.ubc.ca
Fri Dec 10 19:54:34 CET 2010


I agree completely, Dirk. I would definitely consider it only in special 
circumstances, like a custom optimization for a local install. But if it 
really needs to be done, it's possible... With some trade-offs. If you 
know what you're doing. :-)

Davor


On December 10, 2010 09:53:55 am Dirk Eddelbuettel wrote:
> On 10 December 2010 at 09:35, Davor Cubranic wrote:
> | You *can* modify the package compiler -- for example gputools
> | switches to using nvcc CUDA compiler. But I'm pretty sure you'll
> | need to use a custom Makefile.
> 
> Yes ... but as we're talking R here, consider the know downsides.
> 
> With Makefiles you no longer get multiarch builds which have been the
> default on the Mac for some time and are now the default on Windows
> (arguably via Makefile.win).
> 
> If you can do with Makefile, do without a Makefile.   I'd use one for
> a local package -- ie if George wanted something to work just at the
> lab.  For redistribution, CRAN, ... it's better without one.
> 
> Dirk



More information about the R-sig-hpc mailing list