[Lme4-commits] r1433 - pkg/lme4Eigen/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Nov 2 21:18:41 CET 2011
Author: dmbates
Date: 2011-11-02 21:18:40 +0100 (Wed, 02 Nov 2011)
New Revision: 1433
Added:
pkg/lme4Eigen/src/Makevars.win
Modified:
pkg/lme4Eigen/src/Makevars
Log:
Add a Makevars.win file. Make the factory-fresh setting of CPPFLAGS suppress warnings.
Modified: pkg/lme4Eigen/src/Makevars
===================================================================
--- pkg/lme4Eigen/src/Makevars 2011-11-02 20:13:03 UTC (rev 1432)
+++ pkg/lme4Eigen/src/Makevars 2011-11-02 20:18:40 UTC (rev 1433)
@@ -7,5 +7,5 @@
## the debugging checks even though they cause R to terminate, which
## is bad form. Better to learn of bugs in an impolite way than not
## to learn of them.
-#PKG_CXXFLAGS = -DNDEBUG
+PKG_CXXFLAGS = -DNDEBUG
Added: pkg/lme4Eigen/src/Makevars.win
===================================================================
--- pkg/lme4Eigen/src/Makevars.win (rev 0)
+++ pkg/lme4Eigen/src/Makevars.win 2011-11-02 20:18:40 UTC (rev 1433)
@@ -0,0 +1,16 @@
+## -*- mode: makefile; -*-
+
+## This assumes that we can call Rscript to ask Rcpp about its locations
+## Use the R_HOME indirection to support installations of multiple R version
+
+PKG_LIBS = $(shell "${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" -e "Rcpp:::LdFlags()")
+
+PKG_CPPFLAGS = -I../inst/include -I. -DNDEBUG
+
+## For development define the package CPPFLAGS as
+#PKG_CPPFLAGS= -I../inst/include -I.
+## to activate assertions in Eigen. For the purposes of R CMD check the
+## assertions should be suppressed.
+
+
+
More information about the Lme4-commits
mailing list