]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
make: add nvcc info print (#5310)
authorJohannes Gäßler <redacted>
Sat, 3 Feb 2024 19:15:13 +0000 (20:15 +0100)
committerGitHub <redacted>
Sat, 3 Feb 2024 19:15:13 +0000 (20:15 +0100)
Makefile

index 40b16e0ea8c4ed262dc845806070be9f1cdc4f91..21d5e15baa764cecd238aa2f7cf1f40dd37fc803 100644 (file)
--- 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 )
 
 #