From a57445bf48859f6ac7f57d3957847ac4ccb9be2e Mon Sep 17 00:00:00 2001 From: JohannesGaessler Date: Sat, 3 Feb 2024 18:40:19 +0100 Subject: [PATCH] make: add nvcc info print --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index bf9e085de..455d0fd48 100644 --- a/Makefile +++ b/Makefile @@ -540,8 +540,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 ) #