Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wheels 0.14.3 ppc64le #1138

Merged
merged 7 commits into from Dec 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Expand Up @@ -93,7 +93,9 @@ jobs:
# typename T = lib::type_pack_element_t<I, Ts...>,
# (3) Disable PyPy (manylinux image: yum repo issues)
# https://github.com/pypa/manylinux/issues/899
CIBW_SKIP: "*-win32 *-manylinux_i686 pp*-manylinux*"
# (4) musllinux: requires alternative to "yum" in library_builders.sh
# (5) CPython 3.10: requires 0.14.4+ (https://github.com/openPMD/openPMD-api/pull/1139)
CIBW_SKIP: "*-win32 *-manylinux_i686 pp*-manylinux* *-musllinux_* cp310-*"
CIBW_ARCHS: "${{ matrix.arch }}"
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.6"
# Install dependencies
Expand Down
40 changes: 40 additions & 0 deletions .pre-commit-config.yaml
@@ -0,0 +1,40 @@
# To use:
#
# pre-commit run -a
#
# Or:
#
# pre-commit install # (runs every time you commit in git)
#
# To update this file:
#
# pre-commit autoupdate
#
# See https://pre-commit.com for more information

# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: end-of-file-fixer
- id: mixed-line-ending
- id: check-json
- id: check-toml
- id: check-yaml
- id: check-added-large-files
# - id: fix-encoding-pragma
# exclude: ^noxfile.py$

#- repo: https://github.com/asottile/pyupgrade
# rev: v2.29.0
# hooks:
# - id: pyupgrade

# Changes tabs to spaces
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.10
hooks:
- id: remove-tabs
29 changes: 21 additions & 8 deletions .travis.yml
Expand Up @@ -26,33 +26,46 @@ jobs:
dist: focal
env:
- CIBW_BUILD="*_aarch64"
- CIBW_SKIP="cp38-* cp39-* pp36-* pp37-*"
- CIBW_SKIP="cp38-* cp39-* pp36-* pp37-* cp310-* *-musllinux_*"
- services: docker
arch: arm64
dist: focal
env:
- CIBW_BUILD="*_aarch64"
- CIBW_SKIP="cp36-* cp37-* pp36-* pp37-*"
- CIBW_SKIP="cp36-* cp37-* pp36-* pp37-* cp310-* *-musllinux_*"
- services: docker
arch: arm64
dist: focal
env:
- CIBW_BUILD="*_aarch64"
- CIBW_SKIP="cp38-* cp39-* cp36-* cp37-*"
- CIBW_SKIP="cp38-* cp39-* cp36-* cp37-* cp310-* *-musllinux_*"

# perform a linux PPC64LE build
- services: docker
arch: ppc64le
dist: focal
env:
- CIBW_BUILD="*_ppc64le"
- CIBW_SKIP="cp38-* cp39-*"
- CIBW_BUILD="cp36-manylinux_ppc64le"
- services: docker
arch: ppc64le
dist: focal
env:
- CIBW_BUILD="*_ppc64le"
- CIBW_SKIP="cp36-* cp37-*"
- CIBW_BUILD="cp37-manylinux_ppc64le"
- services: docker
arch: ppc64le
dist: focal
env:
- CIBW_BUILD="cp38-manylinux_ppc64le"
- services: docker
arch: ppc64le
dist: focal
env:
- CIBW_BUILD="cp39-manylinux_ppc64le"
# - services: docker
# arch: ppc64le
# dist: focal
# env:
# - CIBW_BUILD="cp310-manylinux_ppc64le"

# perform a linux S390X build
# blocked by https://github.com/GTkorvo/dill/issues/15
Expand All @@ -71,7 +84,7 @@ jobs:
install:
- git clone --branch ${OPENPMD_GIT_REF} --depth 1 https://github.com/openPMD/openPMD-api.git src
- cp library_builders.sh src/.github/
- python3 -m pip install cibuildwheel==2.0.1
- python3 -m pip install git+https://github.com/ax3l/cibuildwheel.git@fix-ppc64leNetworkTravis
# twine & cryptography: see
# https://github.com/scikit-build/cmake-python-distributions/blob/4730aeee240917303f293dffc89a8d8d5a4787c4/requirements-deploy.txt
# https://github.com/pyca/cryptography/issues/6086
Expand Down
2 changes: 1 addition & 1 deletion library_builders.bat
Expand Up @@ -127,7 +127,7 @@ exit /b 0
-DBUILD_TESTING=OFF ^
-DBUILD_UTILITIES=OFF ^
-DZFP_WITH_OPENMP=OFF

if errorlevel 1 exit 1

cmake --build build-zfp --parallel %CPU_COUNT%
Expand Down