Browse Source
build wheels with manylinux2014 (#80)
* build wheels with manylinux2014
* .
* .
master
Ofek Lev
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
6 additions and
3 deletions
-
.github/scripts/build-linux-wheels.sh
-
.github/scripts/build.sh
-
.github/workflows/build.yml
-
HISTORY.rst
|
@ -4,7 +4,7 @@ set -e |
|
|
set -x |
|
|
set -x |
|
|
|
|
|
|
|
|
# Install system packages required by our library |
|
|
# Install system packages required by our library |
|
|
yum install -y pkg-config libffi libffi-devel |
|
|
yum install -y pkgconfig libffi libffi-devel |
|
|
|
|
|
|
|
|
# Use updated GMP |
|
|
# Use updated GMP |
|
|
curl -O https://ftp.gnu.org/gnu/gmp/gmp-6.1.2.tar.bz2 && tar -xjpf gmp-*.tar.bz2 && cd gmp* && ./configure --build=${BUILD_GMP_CPU}-pc-linux-gnu > /dev/null && make > /dev/null && make check > /dev/null && make install > /dev/null && cd .. |
|
|
curl -O https://ftp.gnu.org/gnu/gmp/gmp-6.1.2.tar.bz2 && tar -xjpf gmp-*.tar.bz2 && cd gmp* && ./configure --build=${BUILD_GMP_CPU}-pc-linux-gnu > /dev/null && make > /dev/null && make check > /dev/null && make install > /dev/null && cd .. |
|
|
|
@ -9,8 +9,8 @@ if [[ "$OS_NAME" =~ "ubuntu-" ]]; then |
|
|
if [[ "$PYTHON_VERSION" =~ "pypy" ]]; then |
|
|
if [[ "$PYTHON_VERSION" =~ "pypy" ]]; then |
|
|
docker run --rm -e PYTHON_VERSION="$PYTHON_VERSION" -e PLAT="manylinux2010_x86_64" -e BUILD_GMP_CPU="amd64" -v $(pwd):/io pypywheels/manylinux2010-pypy_x86_64 /io/.github/scripts/build-linux-wheels.sh |
|
|
docker run --rm -e PYTHON_VERSION="$PYTHON_VERSION" -e PLAT="manylinux2010_x86_64" -e BUILD_GMP_CPU="amd64" -v $(pwd):/io pypywheels/manylinux2010-pypy_x86_64 /io/.github/scripts/build-linux-wheels.sh |
|
|
else |
|
|
else |
|
|
docker run --rm -e PYTHON_VERSION="$PYTHON_VERSION" -e PLAT="manylinux1_x86_64" -e BUILD_GMP_CPU="amd64" -v $(pwd):/io quay.io/pypa/manylinux1_x86_64 /io/.github/scripts/build-linux-wheels.sh |
|
|
docker run --rm -e PYTHON_VERSION="$PYTHON_VERSION" -e PLAT="manylinux2014_x86_64" -e BUILD_GMP_CPU="amd64" -v $(pwd):/io quay.io/pypa/manylinux2014_x86_64 /io/.github/scripts/build-linux-wheels.sh |
|
|
linux32 docker run --rm -e PYTHON_VERSION="$PYTHON_VERSION" -e PLAT="manylinux1_i686" -e BUILD_GMP_CPU="i686" -v $(pwd):/io quay.io/pypa/manylinux1_i686 /io/.github/scripts/build-linux-wheels.sh |
|
|
linux32 docker run --rm -e PYTHON_VERSION="$PYTHON_VERSION" -e PLAT="manylinux2014_i686" -e BUILD_GMP_CPU="i686" -v $(pwd):/io quay.io/pypa/manylinux2014_i686 /io/.github/scripts/build-linux-wheels.sh |
|
|
|
|
|
|
|
|
if [[ "$PYTHON_VERSION" == "$PYTHON_VERSION_BUILD_EXTRA" ]]; then |
|
|
if [[ "$PYTHON_VERSION" == "$PYTHON_VERSION_BUILD_EXTRA" ]]; then |
|
|
# Build the source distribution |
|
|
# Build the source distribution |
|
|
|
@ -71,6 +71,8 @@ jobs: |
|
|
build: |
|
|
build: |
|
|
name: "Build ${{ !startsWith(matrix.python-version, 'pypy') && 'Python ' || '' }}${{ startsWith(matrix.python-version, 'pypy') && 'PyPy' || matrix.python-version }} ${{ startsWith(matrix.os, 'ubuntu-') && 'manylinux' || 'on' }} ${{ startsWith(matrix.os, 'ubuntu-') && 'wheels' || 'macOS' }}" |
|
|
name: "Build ${{ !startsWith(matrix.python-version, 'pypy') && 'Python ' || '' }}${{ startsWith(matrix.python-version, 'pypy') && 'PyPy' || matrix.python-version }} ${{ startsWith(matrix.os, 'ubuntu-') && 'manylinux' || 'on' }} ${{ startsWith(matrix.os, 'ubuntu-') && 'wheels' || 'macOS' }}" |
|
|
runs-on: ${{ matrix.os }} |
|
|
runs-on: ${{ matrix.os }} |
|
|
|
|
|
needs: |
|
|
|
|
|
- test |
|
|
strategy: |
|
|
strategy: |
|
|
fail-fast: false |
|
|
fail-fast: false |
|
|
matrix: |
|
|
matrix: |
|
|
|
@ -7,6 +7,7 @@ master |
|
|
^^^^^^ |
|
|
^^^^^^ |
|
|
|
|
|
|
|
|
- **Breaking:** Drop support for Python 2 |
|
|
- **Breaking:** Drop support for Python 2 |
|
|
|
|
|
- **Breaking:** Binary wheels for CPython require version 19.3 or later of ``pip`` to install |
|
|
- Build binary wheels for PyPy3.6 7.3.3 & PyPy3.7 7.3.3 |
|
|
- Build binary wheels for PyPy3.6 7.3.3 & PyPy3.7 7.3.3 |
|
|
|
|
|
|
|
|
14.0.0 |
|
|
14.0.0 |
|
|