From: Georgi Gerganov Date: Mon, 19 Feb 2024 11:41:51 +0000 (+0200) Subject: make : fix CUDA build (#5580) X-Git-Tag: upstream/0.0.4488~2291 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=68a6b98b3c8af7e5baade3ee45fe1d2c7b9323a9;p=pkg%2Fggml%2Fsources%2Fllama.cpp make : fix CUDA build (#5580) --- diff --git a/Makefile b/Makefile index 59352eb5..29fd2ca9 100644 --- a/Makefile +++ b/Makefile @@ -97,9 +97,10 @@ endif # # keep standard at C11 and C++11 -MK_CPPFLAGS = -I. -Icommon -MK_CFLAGS = -std=c11 -fPIC -MK_CXXFLAGS = -std=c++11 -fPIC +MK_CPPFLAGS = -I. -Icommon +MK_CFLAGS = -std=c11 -fPIC +MK_CXXFLAGS = -std=c++11 -fPIC +MK_NVCCFLAGS = -std=c++11 # -Ofast tends to produce faster code, but may not be available for some compilers. ifdef LLAMA_FAST