Skip to content

Commit 628ab6d

Browse files
committed
Stop compilation if CUDALIB_INCLUDE_DIR not set when USE_POLLY_ACC==1
1 parent 47d8592 commit 628ab6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ ifeq ($(USE_POLLY_ACC),1)
6868
LLVMLINK += -lPollyPPCG
6969
FLAGS += -DUSE_POLLY_ACC
7070
ifeq ($(CUDALIB_INCLUDE_DIR),)
71-
$(error CUDALIB_INCLUDE_DIR not set: Please provide the path to CUDA header files)
71+
$(error CUDALIB_INCLUDE_DIR not set: If compiling with USE_POLLY_ACC, user must provide the path to CUDA header files)
7272
endif
7373
FLAGS += -I$(CUDALIB_INCLUDE_DIR)
7474
FLAGS += -I$(shell $(LLVM_CONFIG_HOST) --src-root)/tools/polly/tools

0 commit comments

Comments
 (0)