From: Johannes Gäßler Date: Sat, 3 Feb 2024 19:15:13 +0000 (+0100) Subject: make: add nvcc info print (#5310) X-Git-Tag: upstream/0.0.4488~2429 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=3c0d25c4756742ebf15ad44700fabc0700c638bd;p=pkg%2Fggml%2Fsources%2Fllama.cpp make: add nvcc info print (#5310) --- diff --git a/Makefile b/Makefile index 40b16e0e..21d5e15b 100644 --- a/Makefile +++ b/Makefile @@ -553,8 +553,11 @@ $(info I CFLAGS: $(CFLAGS)) $(info I CXXFLAGS: $(CXXFLAGS)) $(info I NVCCFLAGS: $(NVCCFLAGS)) $(info I LDFLAGS: $(LDFLAGS)) -$(info I CC: $(shell $(CC) --version | head -n 1)) -$(info I CXX: $(shell $(CXX) --version | head -n 1)) +$(info I CC: $(shell $(CC) --version | head -n 1)) +$(info I CXX: $(shell $(CXX) --version | head -n 1)) +ifdef LLAMA_CUBLAS +$(info I NVCC: $(shell $(NVCC) --version | tail -n 1)) +endif # LLAMA_CUBLAS $(info ) #