Skip to content

Commit 3c0d25c

Browse files
make: add nvcc info print (#5310)
1 parent 3cc5ed3 commit 3c0d25c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,8 +553,11 @@ $(info I CFLAGS: $(CFLAGS))
553553
$(info I CXXFLAGS: $(CXXFLAGS))
554554
$(info I NVCCFLAGS: $(NVCCFLAGS))
555555
$(info I LDFLAGS: $(LDFLAGS))
556-
$(info I CC: $(shell $(CC) --version | head -n 1))
557-
$(info I CXX: $(shell $(CXX) --version | head -n 1))
556+
$(info I CC: $(shell $(CC) --version | head -n 1))
557+
$(info I CXX: $(shell $(CXX) --version | head -n 1))
558+
ifdef LLAMA_CUBLAS
559+
$(info I NVCC: $(shell $(NVCC) --version | tail -n 1))
560+
endif # LLAMA_CUBLAS
558561
$(info )
559562

560563
#

0 commit comments

Comments
 (0)