Files

47 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2025-04-21 07:47:00 -07:00
--- Makefile.orig 2025-04-20 12:57:11 UTC
+++ Makefile
2025-02-09 02:02:56 -08:00
@@ -45,8 +45,8 @@ endif
#
# keep standard at C11 and C++17
2025-02-10 00:19:40 -08:00
-CFLAGS =
-CXXFLAGS =
+CFLAGS = $(PRESET_CFLAGS)
+CXXFLAGS = $(PRESET_CXXFLAGS)
ifdef KCPP_DEBUG
CFLAGS = -g -O0
CXXFLAGS = -g -O0
2025-04-21 07:47:00 -07:00
@@ -151,10 +151,10 @@ else
2025-02-09 02:02:56 -08:00
FULLCFLAGS += -mavx2 -msse3 -mssse3 -mfma -mf16c -mavx
endif # LLAMA_NOAVX2
else
- CFLAGS += -march=native -mtune=native
2025-04-21 07:47:00 -07:00
- SIMPLECFLAGS += -march=native -mtune=native
- SIMPLERCFLAGS += -march=native -mtune=native
- FULLCFLAGS += -march=native -mtune=native
2025-02-09 02:02:56 -08:00
+ #CFLAGS += -march=native -mtune=native
2025-04-21 07:47:00 -07:00
+ #SIMPLECFLAGS += -march=native -mtune=native
+ #SIMPLERCFLAGS += -march=native -mtune=native
+ #FULLCFLAGS += -march=native -mtune=native
2025-02-09 02:02:56 -08:00
endif # LLAMA_PORTABLE
endif # if x86
2025-04-21 07:47:00 -07:00
@@ -297,8 +297,8 @@ else
2025-02-09 02:02:56 -08:00
CXXFLAGS += -mcpu=native
endif
2025-02-09 02:02:56 -08:00
else
- CFLAGS += -mcpu=native
- CXXFLAGS += -mcpu=native
+ #CFLAGS += -mcpu=native
+ #CXXFLAGS += -mcpu=native
endif
2025-02-09 02:02:56 -08:00
endif
endif
2025-04-21 07:47:00 -07:00
@@ -841,4 +841,4 @@ finishedmsg:
#phony for printing messages
finishedmsg:
$(NOTIFY_MSG)
- $(DONOTHING)
\ No newline at end of file
+ $(DONOTHING)