Thanks to visit codestin.com
Credit goes to github.com

Skip to content

create OpenBLAS v0.3.21 builds #89

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

Merged
merged 4 commits into from
Nov 3, 2022
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Windows build
name: Win

on:
push:
Expand All @@ -7,7 +7,7 @@ on:
branches: [ master ]

env:
OPENBLAS_COMMIT: "bfd9c1b58cd3"
OPENBLAS_COMMIT: "v0.3.21"
OPENBLAS_ROOT: "c:\\opt"
# Preserve working directory for calls into bash
CHERE_INVOKING: "yes"
Expand Down Expand Up @@ -73,9 +73,13 @@ jobs:
with:
path: builds/openblas*.zip

- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: upload

- name: Upload
env:
OPENBLAS_LIBS_STAGING_UPLOAD_TOKEN: ${{ secrets.MULTIBUILD_WHEELS_STAGING_ACCESS }}
run: |
pip install -q git+https://github.com/Anaconda-Platform/anaconda-client@1.8.0
conda install anaconda-client
& $env:BASH_PATH -lc tools/upload_to_anaconda_staging.sh
25 changes: 15 additions & 10 deletions .github/workflows/multibuild.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Linux,macOS build
name: multibuild

on:
push:
Expand All @@ -15,17 +15,17 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest, macos-11]
platform: [x64]
PLAT: [i686, x86_64]
INTERFACE64: ['', '1']
MB_ML_VER: ['', 2010, 2014]
include:
- os: macos-latest
- os: macos-11
PLAT: arm64
INTERFACE64: '1'
platform: [x64]
- os: macos-latest
- os: macos-11
PLAT: arm64
INTERFACE64: ''
platform: [x64]
Expand All @@ -42,17 +42,17 @@ jobs:
MB_ML_VER: _1_1
platform: [x64]
exclude:
- os: macos-latest
- os: macos-11
PLAT: i686
- os: macos-latest
- os: macos-11
MB_ML_VER: 2010
- os: macos-latest
- os: macos-11
MB_ML_VER: 2014
- PLAT: i686
INTERFACE64: '1'
env:
REPO_DIR: OpenBLAS
OPENBLAS_COMMIT: "bfd9c1b58cd3"
OPENBLAS_COMMIT: "v0.3.21"
MACOSX_DEPLOYMENT_TARGET: 10.9
MB_PYTHON_VERSION: ${{ matrix.python-version }}
TRAVIS_PYTHON_VERSION: ${{ matrix.python-version }}
Expand All @@ -75,8 +75,13 @@ jobs:
python-version: 3.8
- name: Set extra env
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
if [ "macos-11" == "${{ matrix.os }}" ]; then
echo "TRAVIS_OS_NAME=osx" >> $GITHUB_ENV;
echo "LDFLAGS=-L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib" >> $GITHUB_ENV;
echo "LIBRARY_PATH=-L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib" >> $GITHUB_ENV;
else
echo "TRAVIS_OS_NAME=${{ matrix.os }}" >> $GITHUB_ENV;
fi
echo "DOCKER_TEST_IMAGE=$(echo multibuild/xenial_${{ matrix.PLAT}})" >> $GITHUB_ENV;
- name: Print some Environment variable
run: |
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ env:
global:
# The archive that gets built has name from ``git describe`` on this
# commit.
- OPENBLAS_COMMIT="bfd9c1b58cd3"
- OPENBLAS_COMMIT="v0.3.21"
- REPO_DIR=OpenBLAS
# Following generated with:
# travis encrypt -r MacPython/openblas-libs OPENBLAS_LIBS_STAGING_UPLOAD_TOKEN=<secret token value>
Expand Down
2 changes: 1 addition & 1 deletion OpenBLAS