Skip to content

Commit

Permalink
Merge pull request #6 from andrjohns/winarm64-compat
Browse files Browse the repository at this point in the history
Add RcppParallel cxxflags to makevars
  • Loading branch information
lamho86 authored May 17, 2024
2 parents 44ef669 + 1aa3772 commit 25969fa
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 25969fa

Please sign in to comment.