From adaacdfe4c9535f421a3e9911311bff4bd35c9f7 Mon Sep 17 00:00:00 2001 From: tangowithfoxtrot <5676771+tangowithfoxtrot@users.noreply.github.com> Date: Tue, 21 Nov 2023 11:30:26 -0800 Subject: [PATCH] Update build-python-wheels.yml --- .github/workflows/build-python-wheels.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-python-wheels.yml b/.github/workflows/build-python-wheels.yml index f1cbda366..7d357cac8 100644 --- a/.github/workflows/build-python-wheels.yml +++ b/.github/workflows/build-python-wheels.yml @@ -98,11 +98,11 @@ 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 @@ -110,9 +110,9 @@ jobs: 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