Skip to content

Commit 87bc318

Browse files
authored
Merge pull request #58 from mattip/v0.3.15
build for OpenBLAS 0.3.15
2 parents 9311926 + 840924e commit 87bc318

File tree

8 files changed

+12
-11
lines changed

8 files changed

+12
-11
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
branches: [ master ]
1414

1515
env:
16-
OPENBLAS_COMMIT: "af2b0d0"
16+
OPENBLAS_COMMIT: "v0.3.15"
1717
OPENBLAS_ROOT: "c:\\opt"
1818

1919
jobs:
@@ -95,5 +95,5 @@ jobs:
9595
env:
9696
OPENBLAS_LIBS_STAGING_UPLOAD_TOKEN: ${{ secrets.MULTIBUILD_WHEELS_STAGING_ACCESS }}
9797
run: |
98-
pip install -q git+https://github.com/Anaconda-Platform/anaconda-client@1.7.2
98+
pip install -q git+https://github.com/Anaconda-Platform/anaconda-client@1.8.0
9999
tools/upload_to_anaconda_staging.sh

.github/workflows/multibuild.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
INTERFACE64: '1'
3737
env:
3838
REPO_DIR: OpenBLAS
39-
OPENBLAS_COMMIT: af2b0d0
39+
OPENBLAS_COMMIT: "v0.3.15"
4040
MACOSX_DEPLOYMENT_TARGET: 10.9
4141
MB_PYTHON_VERSION: ${{ matrix.python-version }}
4242
TRAVIS_PYTHON_VERSION: ${{ matrix.python-version }}
@@ -90,7 +90,7 @@ jobs:
9090
# The token is available when under the MacPython org, not on forks
9191
echo "secrets.MULTIBUILD_WHEELS_STAGING_ACCESS is not defined: skipping";
9292
else
93-
pip install git+https://github.com/Anaconda-Server/anaconda-client@1.7.2;
93+
pip install git+https://github.com/Anaconda-Server/anaconda-client@1.8.0
9494
# The first -t option refers to the token, the second is the "type"
9595
# option to the "upload" command
9696
anaconda -t ${TOKEN} upload \

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ env:
22
global:
33
# The archive that gets built has name from ``git describe`` on this
44
# commit.
5-
- OPENBLAS_COMMIT=af2b0d0
5+
- OPENBLAS_COMMIT="v0.3.15"
66
- REPO_DIR=OpenBLAS
77
# Following generated with:
88
# travis encrypt -r MacPython/openblas-libs OPENBLAS_LIBS_STAGING_UPLOAD_TOKEN=<secret token value>

OpenBLAS

tools/build_gfortran.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ set -e
55
cd $(cygpath "$START_DIR")
66
OBP=$(cygpath $OPENBLAS_ROOT\\$BUILD_BITS)
77

8-
static_libname=`find $OBP/lib -maxdepth 1 -type f -name '*.a' \! -name '*.dll.a'`
9-
dynamic_libname=`find $OBP/lib -maxdepth 1 -type f -name '*.dll.a'`
8+
static_libname=$(find $OBP/lib -maxdepth 1 -type f -name '*.a' \! -name '*.dll.a' | tail -1)
9+
dynamic_libname=$(find $OBP/lib -maxdepth 1 -type f -name '*.dll.a' | tail -1)
1010

1111
if [ "$INTERFACE64" == "1" ]; then
1212
gfortran -I $OBP/include -fdefault-integer-8 -o test.exe test64_.f90 $static_libname

tools/build_openblas.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ DLL_BASENAME=libopenblas${SYMBOLSUFFIX}_${LIBNAMESUFFIX}
7878
if [ "$INTERFACE64" == "1" ]; then
7979
# OpenBLAS does not build a symbol-suffixed static library on Windows:
8080
# do it ourselves
81-
static_libname=`find . -maxdepth 1 -type f -name '*.a' \! -name '*.dll.a' -printf '%P\n'`
8281
set -x # echo commands
82+
static_libname=$(find . -maxdepth 1 -type f -name '*.a' \! -name '*.dll.a' | tail -1)
8383
make -C exports $interface64_flags objcopy.def
8484
objcopy --redefine-syms exports/objcopy.def "${static_libname}" "${static_libname}.renamed"
8585
cp -f "${static_libname}.renamed" "$OPENBLAS_ROOT/$BUILD_BITS/lib/${static_libname}"

tools/upload_to_anaconda_posix.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ set -ex
44
# Note that the anaconda-client package on PyPI is too old. Install from github
55
# tag instead:
66
echo $(python -c "import sys; print(sys.version)")
7-
pip install -q git+https://github.com/Anaconda-Platform/[email protected]
7+
sudo chmod -R a+w /home/travis/.cache
8+
pip install -q git+https://github.com/Anaconda-Platform/[email protected]
89
upload_to_anaconda
910

0 commit comments

Comments
 (0)