Skip to content

Commit

Permalink
Update build-python-wheels.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tangowithfoxtrot authored Nov 21, 2023
1 parent 1af3b46 commit adaacdf
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build-python-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,21 +98,21 @@ jobs:
echo "RUSTFLAGS=-C target-feature=+crt-static" >> $GITHUB_ENV
shell: bash

- name: Configure Linux builder
if: ${{ matrix.settings.target == 'aarch64-unknown-linux-gnu' || 'x86_64-unknown-linux-gnu' }}
run: |
echo "TARGET_CC=$(uname -m)-linux-gnu-gcc" >> $GITHUB_ENV
echo "TARGET_AR=$(uname -m)-linux-gnu-ar" >> $GITHUB_ENV
# - name: Configure Linux builder
# if: ${{ matrix.settings.target == 'aarch64-unknown-linux-gnu' || 'x86_64-unknown-linux-gnu' }}
# run: |
# echo "TARGET_CC=$(uname -m)-linux-gnu-gcc" >> $GITHUB_ENV
# echo "TARGET_AR=$(uname -m)-linux-gnu-ar" >> $GITHUB_ENV

- name: Build wheels
uses: PyO3/maturin-action@b9e8f88fd4448fdecf5095864cdc7e39a544aa9f # v1.40.7
with:
target: ${{ matrix.settings.target }}
args: --release --find-interpreter --sdist
sccache: 'true'
manylinux: auto
manylinux: '2_28'
working-directory: ${{ github.workspace }}/languages/python
docker-options: -e __ARM_ARCH=armv8-a -e TARGET_CC=$TARGET_CC -e TARGET_AR=$TARGET_AR
docker-options: -e __ARM_ARCH=armv8-a #-e TARGET_CC=$TARGET_CC -e TARGET_AR=$TARGET_AR
# before-script-linux: |
# apt update
# apt install -y qemu-user gcc-aarch64-linux-gnu libc6-dev-arm64-cross
Expand Down

0 comments on commit adaacdf

Please sign in to comment.