Skip to content

Commit

Permalink
skip setting cc for manylinux 2014
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyxu committed Sep 17, 2024
1 parent c735499 commit c89adbe
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/build_linux_wheel/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,23 @@ runs:
shell: bash
run: |
echo "ARM BUILD: ${{ inputs.arm-build }}"
- name: Build x86_64 Manylinux wheel
if: ${{ inputs.arm-build == 'false' }}
- name: Build x86_64 Manylinux2014 wheel
if: ${{ inputs.arm-build == 'false' && inputs.manylinux == '2_17' }}
uses: PyO3/maturin-action@v1
with:
command: build
working-directory: python
target: x86_64-unknown-linux-gnu
manylinux: ${{ inputs.manylinux }}
args: ${{ inputs.args }}
before-script-linux: |
set -e
yum install -y openssl-devel \
&& curl -L https://github.com/protocolbuffers/protobuf/releases/download/v24.4/protoc-24.4-linux-$(uname -m).zip > /tmp/protoc.zip \
&& unzip /tmp/protoc.zip -d /usr/local \
&& rm /tmp/protoc.zip
- name: Build x86_64 Manylinux {manylinux} wheel
if: ${{ inputs.arm-build == 'false' && inputs.manylinux != '2_17' }}
uses: PyO3/maturin-action@v1
with:
command: build
Expand Down

0 comments on commit c89adbe

Please sign in to comment.