Skip to content

Commit 80598f9

Browse files
committed
Update CICD
1 parent d90697f commit 80598f9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/CI.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,12 @@ jobs:
241241
args: --release --out dist
242242
working-directory: bridge/python
243243
manylinux: ${{ matrix.manylinux || '' }}
244+
before-script-linux: |
245+
# ring v0.17 requires __ARM_ARCH for ARM assembly;
246+
# older manylinux2014 cross-GCC does not define it.
247+
# These are target-specific, so harmless on non-ARM builds.
248+
export CFLAGS_aarch64_unknown_linux_gnu="${CFLAGS_aarch64_unknown_linux_gnu:-} -D__ARM_ARCH=8"
249+
export CFLAGS_armv7_unknown_linux_gnueabihf="${CFLAGS_armv7_unknown_linux_gnueabihf:-} -D__ARM_ARCH=7"
244250
- name: Upload wheels
245251
uses: actions/upload-artifact@v4
246252
with:

0 commit comments

Comments
 (0)