Skip to content

Commit

Permalink
add musllinux_1_2 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip committed Jul 31, 2024
1 parent fab6282 commit de7b9a6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/posix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ env:
REPO_DIR: OpenBLAS
OPENBLAS_COMMIT: "d11e7340"
MACOSX_DEPLOYMENT_TARGET: 10.9
MB_PYTHON_VERSION: 3.11

jobs:
build:
Expand Down Expand Up @@ -46,6 +47,7 @@ jobs:
MB_ML_LIBC: musllinux
MB_ML_VER: _1_1

# Move these 6 builds to a faster option
- os: ubuntu-latest
PLAT: aarch64
INTERFACE64: '0'
Expand All @@ -64,6 +66,16 @@ jobs:
INTERFACE64: '1'
MB_ML_LIBC: musllinux
MB_ML_VER: _1_1
- os: ubuntu-latest
PLAT: aarch64
INTERFACE64: '0'
MB_ML_LIBC: musllinux
MB_ML_VER: _1_2
- os: ubuntu-latest
PLAT: aarch64
INTERFACE64: '1'
MB_ML_LIBC: musllinux
MB_ML_VER: _1_2

exclude:
- PLAT: i686
Expand All @@ -72,8 +84,6 @@ jobs:
INTERFACE64: '1'
env:
NIGHTLY: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
MB_PYTHON_VERSION: ${{ matrix.python-version }}
TRAVIS_PYTHON_VERSION: ${{ matrix.python-version }}
MB_ML_LIBC: ${{ matrix.MB_ML_LIBC }}
MB_ML_VER: ${{ matrix.MB_ML_VER }}
INTERFACE64: ${{ matrix.INTERFACE64 }}
Expand Down
4 changes: 2 additions & 2 deletions tools/build_steps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ function do_build_lib {
Linux-aarch64)
local bitness=64
local target=ARMV8
# temporarily limit the kernels for travis until there is data
# temporarily limit the kernels for aarch64 until there is data
# see https://github.com/MacPython/openblas-libs/issues/170
if [ "$MB_ML_LIBC" == "musllinux" ]; then
if [ "$MB_ML_LIBC" == "musllinux" -a "$MB_ML_VER" == "_1_1" ]; then
local dynamic_list="ARMV8 CORTEXA57 THUNDERX"
else
local dynamic_list="ARMV8 CORTEXA57 NEOVERSEV1 THUNDERX"
Expand Down

0 comments on commit de7b9a6

Please sign in to comment.