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

Add a manylinux_2_28 build #71

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/multibuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
platform: [x64]
PLAT: [i686, x86_64]
INTERFACE64: ['', '1']
MB_ML_VER: ['', 2010, 2014]
MB_ML_VER: ['', 2010, 2014, '_2_28']
include:
- os: macos-latest
PLAT: arm64
Expand All @@ -36,8 +36,12 @@ jobs:
MB_ML_VER: 2010
- os: macos-latest
MB_ML_VER: 2014
- os: macos-latest
MB_ML_VER: '_2_28'
- PLAT: i686
INTERFACE64: '1'
- PLAT: i686
MB_ML_VER: '_2_28'
env:
REPO_DIR: OpenBLAS
OPENBLAS_COMMIT: "5188aed"
Expand All @@ -64,7 +68,11 @@ jobs:
run: |
if [ "macos-latest" == "${{ matrix.os }}" ]; then echo "TRAVIS_OS_NAME=osx" >> $GITHUB_ENV; else echo "TRAVIS_OS_NAME=${{ matrix.os }}" >> $GITHUB_ENV; fi
if [ "macos-latest" == "${{ matrix.os }}" ]; then echo "LDFLAGS=-L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib" >> $GITHUB_ENV; fi
echo "DOCKER_TEST_IMAGE=$(echo multibuild/xenial_${{ matrix.PLAT}})" >> $GITHUB_ENV;
if [ "_2_28" == "${{ matrix.MB_ML_VER }}" ]; then
echo "DOCKER_TEST_IMAGE=$(echo multibuild/focal_${{ matrix.PLAT}})" >> $GITHUB_ENV;
else
echo "DOCKER_TEST_IMAGE=$(echo multibuild/xenial_${{ matrix.PLAT}})" >> $GITHUB_ENV;
fi
- name: Print some Environment variable
run: |
echo "TRAVIS_OS_NAME: ${TRAVIS_OS_NAME}"
Expand Down
26 changes: 26 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,32 @@ matrix:
- INTERFACE64=1
- MB_ML_VER=2014
- DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
- os: linux
arch: arm64
env:
- PLAT=aarch64
- MB_ML_VER=_2_28
- DOCKER_TEST_IMAGE=multibuild/focal_{PLAT}
- os: linux
arch: arm64
env:
- PLAT=aarch64
- INTERFACE64=1
- MB_ML_VER=_2_28
- DOCKER_TEST_IMAGE=multibuild/focal_{PLAT}
- os: linux
arch: ppc64le
env:
- PLAT=ppc64le
- MB_ML_VER=_2_28
- DOCKER_TEST_IMAGE=multibuild/focal_{PLAT}
- os: linux
arch: ppc64le
env:
- PLAT=ppc64le
- INTERFACE64=1
- MB_ML_VER=_2_28
- DOCKER_TEST_IMAGE=multibuild/focal_{PLAT}

before_install:
- source travis-ci/build_steps.sh
Expand Down
3 changes: 3 additions & 0 deletions travis-ci/build_steps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ function build_lib {
fi
# Manylinux wrapper
local docker_image=quay.io/pypa/manylinux${manylinux}_${plat}
if [ "${manylinux}" == "_2_28" ]; then
docker_image=quay.io/pypa/manylinux${manylinux}_poc_${plat}:poc
fi
docker pull $docker_image
# Docker sources this script, and runs `do_build_lib`
docker run --rm \
Expand Down