Skip to content

Commit 29dcdb5

Browse files
committed
tweaks
1 parent dad89c9 commit 29dcdb5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/install.libs.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
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

9696
useSystemTbb <- function(tbbLib, tbbInc) {
97-
writeLines("** using system-provided tbb installation")
97+
useTbbPreamble(tbbInc)
9898
}
9999

100100
useBundledTbb <- function() {

tools/config/configure.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
323323
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")
325325
} else {
326326
define(PKG_LIBS_EXTRA = "")
327-
}
327+
}

0 commit comments

Comments
 (0)