Skip to content

Commit

Permalink
Add RcppParallel cxxflags to makevars
Browse files Browse the repository at this point in the history
  • Loading branch information
andrjohns committed May 16, 2024
1 parent 44ef669 commit 1aa3772
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Makevars.win
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
CXX_STD = CXX11

PKG_CXXFLAGS = -DRCPP_PARALLEL_USE_TBB=1 -O2 -DNDEBUG
PKG_CXXFLAGS += $(shell "${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" -e "RcppParallel::CxxFlags()")

PKG_LIBS = $(shell "${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" \
-e "RcppParallel::RcppParallelLibs()") \
Expand Down

0 comments on commit 1aa3772

Please sign in to comment.