Commit 5cecc8a
committed
llama : set GGML_NATIVE=OFF and add -mcpu=apple-a12
This commit sets GGML_NATIVE=OFF and adds -mcpu=apple-a12 to the C and
C++ flags for the iOS simulator, iOS device, and macOS builds. This is
an attempt to avoid native compilation and also find a suitable target
architecture with regards to features tha the CPU supports.1 parent 14d48be commit 5cecc8a
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| |||
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
| 135 | + | |
| 136 | + | |
134 | 137 | | |
135 | 138 | | |
136 | 139 | | |
| |||
141 | 144 | | |
142 | 145 | | |
143 | 146 | | |
| 147 | + | |
| 148 | + | |
144 | 149 | | |
145 | 150 | | |
146 | 151 | | |
| |||
150 | 155 | | |
151 | 156 | | |
152 | 157 | | |
| 158 | + | |
| 159 | + | |
153 | 160 | | |
154 | 161 | | |
155 | 162 | | |
| |||
0 commit comments