Skip to content

Commit 79e3475

Browse files
committed
fix cleanning IMB without GPU
1 parent 4dc144d commit 79e3475

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src_cpp/MPI1/Makefile.MPI1.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,11 @@ override CPPFLAGS += -I${ZE_INCLUDE_DIR} -DZE_INCLUDE_DIR
8686
endif
8787
ifndef CUDA_INCLUDE_DIR
8888
ifndef ZE_INCLUDE_DIR
89+
ifneq (clean, $(filter clean,$(MAKECMDGOALS)))
8990
$(error CUDA_INCLUDE_DIR and ZE_INCLUDE_DIR are not set)
9091
endif
9192
endif
93+
endif
9294
SUBDIR:=GPU
9395
else
9496
SUBDIR:=CPU

0 commit comments

Comments
 (0)