Skip to content

Commit

Permalink
Wheels: 0.12.0
Browse files Browse the repository at this point in the history
Update the cibuildwheel reference tracking to the 0.12.0 release.
  • Loading branch information
ax3l committed Sep 8, 2020
1 parent cdddff1 commit 9101a58
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
with:
path: 'src'
ref: '0.11.1-alpha1'
ref: '0.12.0-alpha'

- uses: actions/checkout@v2
with:
Expand All @@ -27,7 +27,7 @@ jobs:

- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel==1.3.0
python -m pip install cibuildwheel==1.5.5
- name: Build wheel
env:
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -6,7 +6,7 @@ branches:

env:
global:
- OPENPMD_GIT_REF="0.11.1-alpha1"
- OPENPMD_GIT_REF="0.12.0-alpha"

# (1,2) Skip building for Python 2.7 on all platforms
# (3) GNU 7.3.1 & MPark.Variant 1.4.0 on i686:
Expand Down Expand Up @@ -55,7 +55,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==1.3.0
- python3 -m pip install cibuildwheel==1.5.5

script:
- cd src
Expand Down
20 changes: 12 additions & 8 deletions library_builders.sh
Expand Up @@ -58,6 +58,7 @@ function build_adios1 {
# avoid picking up a static libpthread in adios (also: those libs lack -fPIC)
if [ "$(uname -s)" = "Linux" ]
then
rm -f /usr/lib/libpthread.a /usr/lib/libm.a /usr/lib/librt.a
rm -f /usr/lib64/libpthread.a /usr/lib64/libm.a /usr/lib64/librt.a
fi

Expand All @@ -78,21 +79,23 @@ function build_adios1 {
function build_adios2 {
if [ -e adios2-stamp ]; then return; fi

curl -sLo adios2-2.5.0.tar.gz \
https://github.com/ornladios/ADIOS2/archive/v2.5.0.tar.gz
curl -sLo adios2-2.6.0.tar.gz \
https://github.com/ornladios/ADIOS2/archive/v2.6.0.tar.gz
file adios2*.tar.gz
tar -xzf adios2*.tar.gz
rm adios2*.tar.gz
cd ADIOS2-*
curl -sLo adios2-static.patch https://patch-diff.githubusercontent.com/raw/ornladios/ADIOS2/pull/1828.patch
patch -p1 < adios2-static.patch
curl -sLo adios2-i686.patch https://patch-diff.githubusercontent.com/raw/ornladios/ADIOS2/pull/2138.patch
patch -p1 < adios2-i686.patch
cd ..
mkdir build-ADIOS2
cd build-ADIOS2
PY_BIN=$(which python)
CMAKE_BIN="$(${PY_BIN} -m pip show cmake 2>/dev/null | grep Location | cut -d' ' -f2)/cmake/data/bin/"
if [ "$(uname -s)" = "Linux" ]
then
USE_SST="ON"
else
# FIXME SST disabled because EVPATH does not build on macOS
# https://github.com/GTkorvo/evpath/issues/47
USE_SST="OFF"
fi
PATH=${CMAKE_BIN}:${PATH} cmake \
-DBUILD_SHARED_LIBS=OFF \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
Expand All @@ -102,6 +105,7 @@ function build_adios2 {
-DADIOS2_USE_Fortran=OFF \
-DADIOS2_USE_MPI=OFF \
-DADIOS2_USE_PNG=OFF \
-DADIOS2_USE_SST=${USE_SST} \
-DHDF5_USE_STATIC_LIBRARIES:BOOL=ON \
-DCMAKE_DISABLE_FIND_PACKAGE_LibFFI=TRUE \
-DCMAKE_DISABLE_FIND_PACKAGE_BISON=TRUE \
Expand Down

0 comments on commit 9101a58

Please sign in to comment.