Skip to content

Commit

Permalink
try all the pkgconfig paths
Browse files Browse the repository at this point in the history
  • Loading branch information
tangowithfoxtrot authored Nov 20, 2023
1 parent 79b3818 commit a376198
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build-python-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
apt-get install libssl-dev -y
export X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu
export OPENSSL_DIR=/usr/lib/x86_64-linux-gnu
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/share/pkgconfig/"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/share/pkgconfig/:/opt/_internal/cpython-3.10.13/lib/pkgconfig/:/usr/lib64/pkgconfig/:/usr/local/lib/pkgconfig/:/usr/share/pkgconfig/"
- os: ubuntu-22.04
target: aarch64-unknown-linux-gnu
Expand All @@ -75,7 +75,7 @@ jobs:
apt-get install libssl-dev -y
export AARCH64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR=/usr/lib/aarch64-linux-gnu
export OPENSSL_DIR=/usr/lib/aarch64-linux-gnu
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/lib/aarch64-linux-gnu/pkgconfig:/usr/share/pkgconfig/"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/lib/aarch64-linux-gnu/pkgconfig:/usr/share/pkgconfig/:/opt/_internal/cpython-3.10.13/lib/pkgconfig/:/usr/lib64/pkgconfig/:/usr/local/lib/pkgconfig/:/usr/share/pkgconfig/"
steps:
- name: Checkout repo
Expand Down Expand Up @@ -111,7 +111,11 @@ jobs:
sccache: 'true'
manylinux: auto
working-directory: ${{ github.workspace }}/languages/python
# before-script-linux: |
before-script-linux: |
export X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu
export AARCH64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR=/usr/lib/aarch64-linux-gnu
export OPENSSL_DIR=/usr/lib/aarch64-linux-gnu
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/lib/aarch64-linux-gnu/pkgconfig:/usr/share/pkgconfig/:/opt/_internal/cpython-3.10.13/lib/pkgconfig/:/usr/lib64/pkgconfig/:/usr/local/lib/pkgconfig/:/usr/share/pkgconfig/"
- name: Upload artifact
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
Expand Down

0 comments on commit a376198

Please sign in to comment.