diff options
| author | Georgi Gerganov <ggerganov@gmail.com> | 2024-02-19 13:41:51 +0200 |
|---|---|---|
| committer | Georgi Gerganov <ggerganov@gmail.com> | 2024-02-19 13:41:51 +0200 |
| commit | 68a6b98b3c8af7e5baade3ee45fe1d2c7b9323a9 (patch) | |
| tree | 227686e74841693b894119146411fc7ce53b4657 | |
| parent | 70d45af0efce9ed360e1858b827989d971dd9caf (diff) | |
make : fix CUDA build (#5580)
| -rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |
