blob: e991582502a759d43b74ace3a6ceaba9ecc9dbd2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
--- Makefile.orig 2025-04-20 12:57:11 UTC
+++ Makefile
@@ -45,8 +45,8 @@ endif
#
# keep standard at C11 and C++17
-CFLAGS =
-CXXFLAGS =
+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
endif # LLAMA_NOAVX2
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
endif # LLAMA_PORTABLE
endif # if x86
@@ -297,8 +297,8 @@ else
CXXFLAGS += -mcpu=native
endif
else
- 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)
|