File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 7676 writeLines(" ** creating tbb stub library" )
7777 status <- system(" R CMD SHLIB tbb-compat/tbb-compat.cpp" )
7878 if (status != 0 )
79- stop(" error build tbb stub library" )
79+ stop(" error building tbb stub library" )
8080 file.rename(" tbb-compat/tbb-compat.dll" , file.path(tbbDest , " tbb.dll" ))
8181 }
8282 }
@@ -94,7 +94,7 @@ useTbbPreamble <- function(tbbInc) {
9494}
9595
9696useSystemTbb <- function (tbbLib , tbbInc ) {
97- writeLines( " ** using system-provided tbb installation " )
97+ useTbbPreamble( tbbInc )
9898}
9999
100100useBundledTbb <- function () {
Original file line number Diff line number Diff line change @@ -316,12 +316,12 @@ if (.Platform$OS.type == "windows" && is.na(tbbLib)) {
316316 define(PKG_CXXFLAGS = " -DRCPP_PARALLEL_USE_TBB=0" )
317317} else {
318318 define(TBB_ENABLED = TRUE )
319- define(PKG_CXXFLAGS = " -DRCPP_PARALLEL_USE_TBB=1 -DRCPP_PARALLEL_TBB_COMPAT=1 " )
319+ define(PKG_CXXFLAGS = " -DRCPP_PARALLEL_USE_TBB=1" )
320320}
321321
322322# macOS needs some extra flags set
323323if (Sys.info()[[" sysname" ]] == " Darwin" ) {
324- define(PKG_LIBS_EXTRA = " -Wl,-rpath,\" @loader_path/../lib\" " )
324+ define(PKG_LIBS_EXTRA = " -Wl,-rpath,@loader_path/../lib" )
325325} else {
326326 define(PKG_LIBS_EXTRA = " " )
327- }
327+ }
You can’t perform that action at this time.
0 commit comments