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 76
76
writeLines(" ** creating tbb stub library" )
77
77
status <- system(" R CMD SHLIB tbb-compat/tbb-compat.cpp" )
78
78
if (status != 0 )
79
- stop(" error build tbb stub library" )
79
+ stop(" error building tbb stub library" )
80
80
file.rename(" tbb-compat/tbb-compat.dll" , file.path(tbbDest , " tbb.dll" ))
81
81
}
82
82
}
@@ -94,7 +94,7 @@ useTbbPreamble <- function(tbbInc) {
94
94
}
95
95
96
96
useSystemTbb <- function (tbbLib , tbbInc ) {
97
- writeLines( " ** using system-provided tbb installation " )
97
+ useTbbPreamble( tbbInc )
98
98
}
99
99
100
100
useBundledTbb <- function () {
Original file line number Diff line number Diff line change @@ -316,12 +316,12 @@ if (.Platform$OS.type == "windows" && is.na(tbbLib)) {
316
316
define(PKG_CXXFLAGS = " -DRCPP_PARALLEL_USE_TBB=0" )
317
317
} else {
318
318
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" )
320
320
}
321
321
322
322
# macOS needs some extra flags set
323
323
if (Sys.info()[[" sysname" ]] == " Darwin" ) {
324
- define(PKG_LIBS_EXTRA = " -Wl,-rpath,\" @loader_path/../lib\" " )
324
+ define(PKG_LIBS_EXTRA = " -Wl,-rpath,@loader_path/../lib" )
325
325
} else {
326
326
define(PKG_LIBS_EXTRA = " " )
327
- }
327
+ }
You can’t perform that action at this time.
0 commit comments