Skip to content

Commit d60c9b0

Browse files
committed
Support Intel oneAPI TBB / oneTBB
oneAPI redirects the TBB headers: `#include "../oneapi/tbb.h"` So, make sure that we copy TBB headers in `$TBB_INC/oneapi`.
1 parent 39303ec commit d60c9b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Makevars.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ ifdef TBB_LIB
104104
rm -Rf ../inst/include/tbb_local/; \
105105
mkdir -p ../inst/include; \
106106
cp -R $(TBB_INC)/serial ../inst/include/ 2>/dev/null || :; \
107+
cp -R $(TBB_INC)/oneapi ../inst/include/ 2>/dev/null || :; \
107108
cp -R $(TBB_INC)/tbb ../inst/include/ 2>/dev/null || :
108109
else
109110
echo "Building TBB library from source code..."; \

0 commit comments

Comments
 (0)