Skip to content

Commit 99b191d

Browse files
committed
fix(ci): gate ring flags to linux aarch64
1 parent 678c7d1 commit 99b191d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/python-wheels.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ jobs:
3838
with:
3939
python-version: "3.11"
4040

41+
- name: Set ring flags (aarch64 linux)
42+
if: ${{ matrix.target == 'aarch64-unknown-linux-gnu' && startsWith(matrix.platform, 'manylinux') }}
43+
run: |
44+
echo "RING_PREGENERATE_ASM=1" >> $GITHUB_ENV
45+
echo "CFLAGS_aarch64_unknown_linux_gnu=-march=armv8-a" >> $GITHUB_ENV
46+
4147
- name: Build wheels
4248
uses: PyO3/maturin-action@v1
4349
with:

0 commit comments

Comments
 (0)