File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -87,23 +87,25 @@ useSystemTbb <- function(tbbLib, tbbInc) {
87
87
useBundledTbb <- function () {
88
88
89
89
useTbbPreamble(" tbb/include" )
90
- dir.create(" tbb/build" , showWarnings = FALSE )
90
+ dir.create(" tbb/build-tbb " , showWarnings = FALSE )
91
91
92
92
writeLines(" *** configuring tbb" )
93
- status <- system(" cd tbb/build; cmake -DTBB_TEST=0 -DTBB_EXAMPLES=0 -DTBB_STRICT=0 .. > build.log 2>&1" )
93
+ status <- system(" cd tbb/build-tbb ; cmake -DTBB_TEST=0 -DTBB_EXAMPLES=0 -DTBB_STRICT=0 .. > build.log 2>&1" )
94
94
if (status != 0L ) {
95
95
system(" cat build.log" )
96
96
stop(" error configuring tbb (status code " , status , " )" )
97
97
}
98
98
99
99
writeLines(" *** building tbb" )
100
- status <- system(" cd tbb/build; cmake --build . > build.log 2>&1" )
100
+ status <- system(" cd tbb/build-tbb ; cmake --build . > build.log 2>&1" )
101
101
if (status != 0L ) {
102
102
system(" cat build.log" )
103
103
stop(" error building tbb (status code " , status , " )" )
104
104
}
105
105
106
- system(" cd tbb/build; mv *_relwithdebinfo lib_release" )
106
+ dir.create(" tbb/build" , showWarnings = FALSE )
107
+ system(" mv tbb/build-tbb/*_relwithdebinfo tbb/build/lib_release" )
108
+ system(" rm -rf tbb/build-tbb" )
107
109
writeLines(" *** finished building tbb" )
108
110
109
111
}
You can’t perform that action at this time.
0 commit comments