Skip to content

Commit

Permalink
march=native doesn't work for ios/tvos, so disable for those targets.…
Browse files Browse the repository at this point in the history
… also see what happens if we use it on msvc
  • Loading branch information
netrunnereve authored Sep 30, 2023
1 parent 062561d commit 8283237
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ jobs:
mkdir build
cd build
cmake -G Xcode .. \
-DLLAMA_NATIVE=OFF \
-DLLAMA_BUILD_EXAMPLES=OFF \
-DLLAMA_BUILD_TESTS=OFF \
-DLLAMA_BUILD_SERVER=OFF \
Expand Down Expand Up @@ -246,6 +247,7 @@ jobs:
mkdir build
cd build
cmake -G Xcode .. \
-DLLAMA_NATIVE=OFF \
-DLLAMA_BUILD_EXAMPLES=OFF \
-DLLAMA_BUILD_TESTS=OFF \
-DLLAMA_BUILD_SERVER=OFF \
Expand All @@ -265,7 +267,7 @@ jobs:
matrix:
include:
- build: 'noavx'
defines: '-DLLAMA_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DLLAMA_AVX=OFF -DLLAMA_AVX2=OFF -DLLAMA_FMA=OFF -DBUILD_SHARED_LIBS=ON'
defines: '-DLLAMA_BUILD_SERVER=ON -DLLAMA_AVX=OFF -DLLAMA_AVX2=OFF -DLLAMA_FMA=OFF -DBUILD_SHARED_LIBS=ON'
- build: 'avx2'
defines: '-DLLAMA_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DBUILD_SHARED_LIBS=ON'
- build: 'avx'
Expand Down

0 comments on commit 8283237

Please sign in to comment.