File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -114,9 +114,9 @@ ifeq ($(USE_TBB), SunOS)
114114endif
115115
116116# Write compilation output to file, and log it if installation fails.
117- ifneq ($(OS), Windows_NT)
118- MAKE_ARGS += > tbb.log 2>&1 && echo "(tbb) TBB successfully built and installed." || cat tbb.log; rm -f tbb.log
119- endif
117+ MAKE_ARGS += > tbb.log 2>&1 \
118+ && echo "(tbb) TBB successfully built and installed." \
119+ || cat tbb.log; rm -f tbb.log
120120
121121.PHONY: all tbb tbb-clean
122122
Original file line number Diff line number Diff line change 2020 if (is.na(tbbLib ) && ! is.na(tbbRoot ))
2121 tbbLib <- file.path(tbbRoot , " lib" )
2222
23+ shlibPattern <- " [.](?:so|dylib|dll)$"
24+
2325 if (is.na(tbbLib )) {
2426
2527 # using bundled TBB
2628 tbbLibs <- list.files(
2729 path = " tbb/build/lib_release" ,
28- pattern = " ^libtbb " ,
30+ pattern = shlibPattern ,
2931 full.names = TRUE
3032 )
3133
3739 # using system tbb
3840 tbbLibs <- list.files(
3941 path = tbbLib ,
40- pattern = " [.](?:so|dylib|dll)$ " ,
42+ pattern = shlibPattern ,
4143 full.names = TRUE
4244 )
4345
You can’t perform that action at this time.
0 commit comments