File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -12,5 +12,8 @@ src-i386
12
12
src-x64
13
13
tbb.log
14
14
15
+ src /tbb /build
16
+ src /tbb /build-tbb
17
+
15
18
R /tbb-autodetected.R
16
19
Original file line number Diff line number Diff line change @@ -103,9 +103,12 @@ useBundledTbb <- function() {
103
103
stop(" error building tbb (status code " , status , " )" )
104
104
}
105
105
106
+ tbbFiles <- list.files(pattern = " libtbb.so" , recursive = TRUE )
107
+ tbbDir <- dirname(tbbFiles [[1L ]])
108
+
106
109
dir.create(" tbb/build" , showWarnings = FALSE )
107
- system( " mv tbb/build-tbb/*_relwithdebinfo tbb/build/lib_release" )
108
- system( " rm -rf tbb/build-tbb" )
110
+ file.rename( tbbDir , " tbb/build/lib_release" )
111
+ unlink( " tbb/build-tbb" , recursive = TRUE )
109
112
writeLines(" *** finished building tbb" )
110
113
111
114
}
You can’t perform that action at this time.
0 commit comments