Skip to content

Commit 2d64264

Browse files
committed
build(whl): change C flags to run on diffrent arch
1 parent e8fff5c commit 2d64264

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ampere-build-and-release.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ jobs:
3939
run: python -m pip install build scikit-build-core
4040

4141
- name: Build wheel
42-
run: CMAKE_ARGS="-DGGML_NATIVE=ON" python -m build --wheel --outdir wheelhouse/
42+
run: >
43+
CMAKE_ARGS="-DGGML_NATIVE=OFF
44+
-DCMAKE_CXX_FLAGS='-march=armv8.2-a+dotprod+fp16'
45+
-DCMAKE_C_FLAGS='-march=armv8.2-a+dotprod+fp16'"
46+
python -m build --wheel --outdir wheelhouse/
4347
4448
- name: Inspect wheel contents
4549
run: |

0 commit comments

Comments
 (0)