Skip to content

Commit 8283237

Browse files
authored
march=native doesn't work for ios/tvos, so disable for those targets. also see what happens if we use it on msvc
1 parent 062561d commit 8283237

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ jobs:
218218
mkdir build
219219
cd build
220220
cmake -G Xcode .. \
221+
-DLLAMA_NATIVE=OFF \
221222
-DLLAMA_BUILD_EXAMPLES=OFF \
222223
-DLLAMA_BUILD_TESTS=OFF \
223224
-DLLAMA_BUILD_SERVER=OFF \
@@ -246,6 +247,7 @@ jobs:
246247
mkdir build
247248
cd build
248249
cmake -G Xcode .. \
250+
-DLLAMA_NATIVE=OFF \
249251
-DLLAMA_BUILD_EXAMPLES=OFF \
250252
-DLLAMA_BUILD_TESTS=OFF \
251253
-DLLAMA_BUILD_SERVER=OFF \
@@ -265,7 +267,7 @@ jobs:
265267
matrix:
266268
include:
267269
- build: 'noavx'
268-
defines: '-DLLAMA_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DLLAMA_AVX=OFF -DLLAMA_AVX2=OFF -DLLAMA_FMA=OFF -DBUILD_SHARED_LIBS=ON'
270+
defines: '-DLLAMA_BUILD_SERVER=ON -DLLAMA_AVX=OFF -DLLAMA_AVX2=OFF -DLLAMA_FMA=OFF -DBUILD_SHARED_LIBS=ON'
269271
- build: 'avx2'
270272
defines: '-DLLAMA_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DBUILD_SHARED_LIBS=ON'
271273
- build: 'avx'

0 commit comments

Comments
 (0)