Skip to content

Commit a9c0ced

Browse files
authored
Add files via upload
1 parent f4b6c1f commit a9c0ced

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

src/Makevars

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
## With R 3.1.0 or later, you can uncomment the following line to tell R to
3+
## enable compilation with C++11 (where available)
4+
##
5+
## Also, OpenMP support in Armadillo prefers C++11 support. However, for wider
6+
## availability of the package we do not yet enforce this here. It is however
7+
## recommended for client packages to set it.
8+
##
9+
## And with R 3.4.0, and RcppArmadillo 0.7.960.*, we turn C++11 on as OpenMP
10+
## support within Armadillo prefers / requires it
11+
#CXX_STD = CXX11
12+
13+
PKG_CXXFLAGS = $(SHLIB_OPENMP_CXXFLAGS) -DNDEBUG
14+
PKG_LIBS = $(SHLIB_OPENMP_CXXFLAGS) $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)

src/Makevars.win

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
## With R 3.1.0 or later, you can uncomment the following line to tell R to
3+
## enable compilation with C++11 (where available)
4+
##
5+
## Also, OpenMP support in Armadillo prefers C++11 support. However, for wider
6+
## availability of the package we do not yet enforce this here. It is however
7+
## recommended for client packages to set it.
8+
##
9+
## And with R 3.4.0, and RcppArmadillo 0.7.960.*, we turn C++11 on as OpenMP
10+
## support within Armadillo prefers / requires it
11+
#CXX_STD = CXX11
12+
13+
PKG_CXXFLAGS = $(SHLIB_OPENMP_CXXFLAGS)
14+
PKG_LIBS = $(SHLIB_OPENMP_CXXFLAGS) $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)

0 commit comments

Comments
 (0)