We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2eb2249 commit 12ea721Copy full SHA for 12ea721
2 files changed
.gitignore
@@ -12,5 +12,8 @@ src-i386
12
src-x64
13
tbb.log
14
15
+src/tbb/build
16
+src/tbb/build-tbb
17
+
18
R/tbb-autodetected.R
19
src/install.libs.R
@@ -103,9 +103,12 @@ useBundledTbb <- function() {
103
stop("error building tbb (status code ", status, ")")
104
}
105
106
+ tbbFiles <- list.files(pattern = "libtbb.so", recursive = TRUE)
107
+ tbbDir <- dirname(tbbFiles[[1L]])
108
109
dir.create("tbb/build", showWarnings = FALSE)
- system("mv tbb/build-tbb/*_relwithdebinfo tbb/build/lib_release")
- system("rm -rf tbb/build-tbb")
110
+ file.rename(tbbDir, "tbb/build/lib_release")
111
+ unlink("tbb/build-tbb", recursive = TRUE)
112
writeLines("*** finished building tbb")
113
114
0 commit comments