Skip to content

Commit 26836e2

Browse files
committed
Add //sw/gpgpu/cub to the include path when building internally from Perforce.
1 parent 8364da1 commit 26836e2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

internal/build/common_build.mk

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,15 @@ ifndef BUILD_AGAINST_RELEASE
8080
else
8181
INCLUDES_ABSPATH += $(ROOTDIR)/thrust
8282
endif
83+
84+
# CUB includes
85+
ifdef VULCAN
86+
INCLUDES_ABSPATH += $(VULCAN_TOOLKIT_BASE)/cub
87+
else
88+
INCLUDES_ABSPATH += $(ROOTDIR)/cub
89+
endif
8390
else
84-
# CUDA and Thrust includes
91+
# CUDA, CUB, and Thrust includes
8592
INCLUDES_ABSPATH += $(GPGPU_COMPILER_EXPORT)/include
8693

8794
ifeq ($(TARGET_ARCH),ARMv7)

0 commit comments

Comments
 (0)