Skip to content

Commit

Permalink
for pip.yml to make wheels in manylinux, download/build lipzip
Browse files Browse the repository at this point in the history
  • Loading branch information
jcschaff committed Jan 19, 2025
1 parent 0377e0d commit 59b90ae
Showing 1 changed file with 40 additions and 4 deletions.
44 changes: 40 additions & 4 deletions .github/workflows/pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,16 @@ jobs:
run: |
docker run --rm -v $(pwd):/io quay.io/pypa/manylinux2014_x86_64 \
/bin/bash -c \
"yum install -y boost-devel hdf5-devel libzip-devel ninja-build && \
"yum install -y boost-devel hdf5-devel ninja-build && \
cd /tmp && \
curl -LO https://libzip.org/download/libzip-1.10.1.tar.gz && \
tar -xzf libzip-1.10.1.tar.gz && \
cd libzip-1.10.1 && \
mkdir build && \
cd build && \
cmake .. && \
make && \
make install && \
/opt/python/cp39-cp39/bin/pip wheel /io/ -w /io/dist && \
auditwheel repair /io/dist/*.whl -w /io/dist/"
echo "keeping only the manylinux wheels, remove those with -linux_x86_64.whl in the name"
Expand All @@ -151,7 +160,16 @@ jobs:
run: |
docker run --rm -v $(pwd):/io quay.io/pypa/manylinux2014_x86_64 \
/bin/bash -c \
"yum install -y boost-devel hdf5-devel libzip-devel ninja-build && \
"yum install -y boost-devel hdf5-devel ninja-build && \
cd /tmp && \
curl -LO https://libzip.org/download/libzip-1.10.1.tar.gz && \
tar -xzf libzip-1.10.1.tar.gz && \
cd libzip-1.10.1 && \
mkdir build && \
cd build && \
cmake .. && \
make && \
make install && \
/opt/python/cp310-cp310/bin/pip wheel /io/ -w /io/dist && \
auditwheel repair /io/dist/*.whl -w /io/dist/"
echo "keeping only the manylinux wheels, remove those with -linux_x86_64.whl in the name"
Expand All @@ -163,7 +181,16 @@ jobs:
run: |
docker run --rm -v $(pwd):/io quay.io/pypa/manylinux2014_x86_64 \
/bin/bash -c \
"yum install -y boost-devel hdf5-devel libzip-devel ninja-build && \
"yum install -y boost-devel hdf5-devel ninja-build && \
cd /tmp && \
curl -LO https://libzip.org/download/libzip-1.10.1.tar.gz && \
tar -xzf libzip-1.10.1.tar.gz && \
cd libzip-1.10.1 && \
mkdir build && \
cd build && \
cmake .. && \
make && \
make install && \
/opt/python/cp311-cp311/bin/pip wheel /io/ -w /io/dist && \
auditwheel repair /io/dist/*.whl -w /io/dist/"
echo "keeping only the manylinux wheels, remove those with -linux_x86_64.whl in the name"
Expand All @@ -175,7 +202,16 @@ jobs:
run: |
docker run --rm -v $(pwd):/io quay.io/pypa/manylinux2014_x86_64 \
/bin/bash -c \
"yum install -y boost-devel hdf5-devel libzip-devel ninja-build && \
"yum install -y boost-devel hdf5-devel ninja-build && \
cd /tmp && \
curl -LO https://libzip.org/download/libzip-1.10.1.tar.gz && \
tar -xzf libzip-1.10.1.tar.gz && \
cd libzip-1.10.1 && \
mkdir build && \
cd build && \
cmake .. && \
make && \
make install && \
/opt/python/cp312-cp312/bin/pip wheel /io/ -w /io/dist && \
auditwheel repair /io/dist/*.whl -w /io/dist/"
echo "keeping only the manylinux wheels, remove those with -linux_x86_64.whl in the name"
Expand Down

0 comments on commit 59b90ae

Please sign in to comment.