Skip to content

Commit

Permalink
add LD_LIBRARY_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
Isotr0py committed Sep 30, 2023
1 parent 22db3e1 commit c9e5e77
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ permissions:
jobs:
linux:
runs-on: ubuntu-latest
container: dockcross/linux-x86_64-full
timeout-minutes: 60
strategy:
matrix:
Expand Down Expand Up @@ -53,23 +52,23 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter --all-features
args: --release --out wheels --find-interpreter --all-features
sccache: 'true'
manylinux: auto
docker-options: |
-e RUST_BACKTRACE=1
-e DEP_JXL_LIB=${{ github.workspace }}/libjxl/build/lib
container: off
-e LD_LIBRARY_PATH=/usr/local/lib/
# before-script-linux: |
# yum install -y cmake clang doxygen extra-cmake-modules ninja-build

# - name: Fix wheels with auditwheel
# run: |
# pip install auditwheel
# for wheel in ${{ github.workspace }}/wheels/*manylinux*.whl; do
# echo "Processing $wheel"
# auditwheel repair "$wheel" --plat manylinux_2_17_x86_64 --wheel-dir dist
# done
- name: Fix wheels with auditwheel
run: |
pip install auditwheel
for wheel in ${{ github.workspace }}/wheels/*manylinux*.whl; do
echo "Processing $wheel"
auditwheel repair "$wheel" --plat manylinux_2_17_x86_64 --wheel-dir dist
done
- name: Upload wheels
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit c9e5e77

Please sign in to comment.