From bdca7999c81a89f4b48407131d7bc24650bf0101 Mon Sep 17 00:00:00 2001 From: Slaren <2141330+slaren@users.noreply.github.com> Date: Sat, 22 Apr 2023 16:12:37 +0200 Subject: [PATCH] Fix Makefile --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 662d46f9c..6ef9f211b 100644 --- a/Makefile +++ b/Makefile @@ -111,6 +111,8 @@ ifdef LLAMA_CUBLAS NVCC = nvcc NVCCFLAGS = --forward-unknown-to-host-compiler -arch=native ggml-cuda.o: ggml-cuda.cu ggml-cuda.h + $(NVCC) $(NVCCFLAGS) $(CXXFLAGS) -Wno-pedantic -c $< -o $@ +endif ifdef LLAMA_GPROF CFLAGS += -pg CXXFLAGS += -pg