File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed
Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 153153 @(cd tbb/src && $(MAKE_CMD) @STDVER@ $(MAKE_ARGS) $(MAKE_TARGETS) $(MAKE_LOG))
154154endif
155155
156+ # NOTE: we do not want to clean ../inst/lib or ../inst/libs here,
157+ # as we may be writing to those locations in multiarch builds
156158tbb-clean:
157- @rm -rf ../inst/lib
158- @rm -rf ../inst/libs
159159 @rm -rf ../inst/include/tbb
160160 @rm -rf ../inst/include/oneapi
161161 @rm -rf ../inst/include/tbb_local
Original file line number Diff line number Diff line change 1313 file.copy(" symbols.rds" , dest , overwrite = TRUE )
1414
1515 # also copy to package 'libs' folder, for devtools
16- dest <- paste0(" ../libs" , R_ARCH )
17- dir.create(dest , recursive = TRUE , showWarnings = FALSE )
18- file.copy(files , dest , overwrite = TRUE )
16+ libsDest <- paste0(" ../libs" , R_ARCH )
17+ dir.create(libsDest , recursive = TRUE , showWarnings = FALSE )
18+ file.copy(files , libsDest , overwrite = TRUE )
1919
2020 # copy tbb
2121 # TODO: use 'dest' library directory once rstan is updated
Original file line number Diff line number Diff line change 1+
12# Clean up files generated during configuration here.
23# Use 'remove_file()' to remove files generated during configuration.
3- unlink(" src/tbb/build/lib_release" , recursive = TRUE )
44
5+ unlink(" src/tbb/build/lib_release" , recursive = TRUE )
6+ unlink(" inst/lib" , recursive = TRUE )
7+ unlink(" inst/libs" , recursive = TRUE )
You can’t perform that action at this time.
0 commit comments