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
1212src-x64
1313tbb.log
1414
15+ src /tbb /build
16+ src /tbb /build-tbb
17+
1518R /tbb-autodetected.R
1619
Original file line number Diff line number Diff line change @@ -103,9 +103,12 @@ useBundledTbb <- function() {
103103 stop(" error building tbb (status code " , status , " )" )
104104 }
105105
106+ tbbFiles <- list.files(pattern = " libtbb.so" , recursive = TRUE )
107+ tbbDir <- dirname(tbbFiles [[1L ]])
108+
106109 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 )
109112 writeLines(" *** finished building tbb" )
110113
111114}
You can’t perform that action at this time.
0 commit comments