diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
| commit | 2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch) | |
| tree | 25f0138e1af8902b92dacc8cce09b267447c17db /misc/koboldcpp/files/patch-Makefile | |
| parent | f85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff) | |
| parent | 1a30da80670973368b399f2b01fe9c04b91a1273 (diff) | |
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'misc/koboldcpp/files/patch-Makefile')
| -rw-r--r-- | misc/koboldcpp/files/patch-Makefile | 65 |
1 files changed, 39 insertions, 26 deletions
diff --git a/misc/koboldcpp/files/patch-Makefile b/misc/koboldcpp/files/patch-Makefile index e991582502a7..ffba18162e73 100644 --- a/misc/koboldcpp/files/patch-Makefile +++ b/misc/koboldcpp/files/patch-Makefile @@ -1,4 +1,4 @@ ---- Makefile.orig 2025-04-20 12:57:11 UTC +--- Makefile.orig 2025-11-28 15:27:50 UTC +++ Makefile @@ -45,8 +45,8 @@ endif # @@ -9,38 +9,51 @@ +CFLAGS = $(PRESET_CFLAGS) +CXXFLAGS = $(PRESET_CXXFLAGS) ifdef KCPP_DEBUG - CFLAGS = -g -O0 - CXXFLAGS = -g -O0 -@@ -151,10 +151,10 @@ else - FULLCFLAGS += -mavx2 -msse3 -mssse3 -mfma -mf16c -mavx + CFLAGS = -g -O0 + CXXFLAGS = -g -O0 +@@ -178,10 +178,10 @@ else endif # LLAMA_NOAVX2 + endif # LLAMA_NOAVX1 else -- CFLAGS += -march=native -mtune=native -- SIMPLECFLAGS += -march=native -mtune=native -- SIMPLERCFLAGS += -march=native -mtune=native -- FULLCFLAGS += -march=native -mtune=native -+ #CFLAGS += -march=native -mtune=native -+ #SIMPLECFLAGS += -march=native -mtune=native -+ #SIMPLERCFLAGS += -march=native -mtune=native -+ #FULLCFLAGS += -march=native -mtune=native +-CFLAGS += -march=native -mtune=native +-SIMPLECFLAGS += -march=native -mtune=native +-SIMPLERCFLAGS += -march=native -mtune=native +-FULLCFLAGS += -march=native -mtune=native ++#CFLAGS += -march=native -mtune=native ++#SIMPLECFLAGS += -march=native -mtune=native ++#SIMPLERCFLAGS += -march=native -mtune=native ++#FULLCFLAGS += -march=native -mtune=native endif # LLAMA_PORTABLE endif # if x86 -@@ -297,8 +297,8 @@ else - CXXFLAGS += -mcpu=native +@@ -251,7 +251,7 @@ else + endif + + else +-NVCCFLAGS += -arch=native ++#NVCCFLAGS += -arch=native + endif # LLAMA_PORTABLE + + ifdef LLAMA_CUDA_CCBIN +@@ -368,15 +368,15 @@ ifneq ($(findstring clang, $(CCV)), ) + # sve is cooked on termux so we are disabling it + ifeq ($(UNAME_O), Android) + ifneq ($(findstring clang, $(CCV)), ) +-CFLAGS += -mcpu=native+nosve +-CXXFLAGS += -mcpu=native+nosve ++#CFLAGS += -mcpu=native+nosve ++#CXXFLAGS += -mcpu=native+nosve + else +-CFLAGS += -mcpu=native +-CXXFLAGS += -mcpu=native ++#CFLAGS += -mcpu=native ++#CXXFLAGS += -mcpu=native endif else -- CFLAGS += -mcpu=native -- CXXFLAGS += -mcpu=native -+ #CFLAGS += -mcpu=native -+ #CXXFLAGS += -mcpu=native +-CFLAGS += -mcpu=native +-CXXFLAGS += -mcpu=native ++#CFLAGS += -mcpu=native ++#CXXFLAGS += -mcpu=native endif endif endif -@@ -841,4 +841,4 @@ finishedmsg: - #phony for printing messages - finishedmsg: - $(NOTIFY_MSG) -- $(DONOTHING) -\ No newline at end of file -+ $(DONOTHING) |
