On 25 August 2015 at 16:02, Kevin Ushey wrote:
| Doesn't CRAN R default to using -O2 flags when compiling C++ source
| files? (I think the default is -O3 for C source files).
| 
| Are you using CRAN R, or a locally built R? You might need to set that
| explicitly yourself when configuring R?

Optimization levels are commonly

 - inherited from values stored in $R_HOME/etc/Makeconf and set at R's
   configure and compile time

 - locally set by the user via $HOME/.R/Makevars

and we are generally advised not to set them in src/Makevars* in our
packages.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to