Skip to content

Commit 294d880

Browse files
committed
Merge branch 'maintenance/v0.3.30.0.7' into gfortran-11
2 parents 92e5374 + cc34992 commit 294d880

File tree

5 files changed

+21
-13
lines changed

5 files changed

+21
-13
lines changed

.github/workflows/posix.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ on:
44
push:
55
branches: [ main ]
66
pull_request:
7-
branches: [ main ]
7+
branches:
8+
- main
9+
- maintenance/**
810
workflow_dispatch: null
911
schedule:
1012
- cron: '0 0 * * 0'

.github/workflows/windows-arm.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ on:
44
push:
55
branches: [ main ]
66
pull_request:
7-
branches: [ main ]
7+
branches:
8+
- main
9+
- maintenance/**
810

911
env:
1012
OPENBLAS_COMMIT: "v0.3.30-349-gf6df9beb"

.github/workflows/windows.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ on:
44
push:
55
branches: [ main ]
66
pull_request:
7-
branches: [ main ]
7+
branches:
8+
- main
9+
- maintenance/**
810
workflow_dispatch: null
911

1012
env:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta"
99
[project]
1010
name = "scipy-openblas64"
1111
# v0.3.30-349-gf6df9beb
12-
version = "0.3.30.349.0"
12+
version = "0.3.30.349.1"
1313
requires-python = ">=3.7"
1414
description = "Provides OpenBLAS for python packaging"
1515
readme = "README.md"

tools/build_steps.sh

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,17 @@ function before_build {
3939
# get_macpython_environment ${MB_PYTHON_VERSION} venv
4040
python3.9 -m venv venv
4141
source venv/bin/activate
42-
alias gfortran=gfortran-15
42+
# Since install_fortran uses `uname -a` to determine arch,
43+
# force the architecture
44+
unalias gfortran 2>/dev/null || true
45+
arch -${PLAT} bash -s << " EOF"
46+
set -ex
47+
source tools/gfortran_utils.sh
48+
install_gfortran
49+
EOF
50+
which gfortran
51+
gfortran --version
52+
4353
# Deployment target set by gfortran_utils
4454
echo "Deployment target $MACOSX_DEPLOYMENT_TARGET"
4555
@@ -150,14 +160,6 @@ function do_build_lib {
150160
Darwin-x86_64)
151161
local bitness=64
152162
local target="CORE2"
153-
# Use gfortran-11
154-
unalias gfortran
155-
# Since install_fortran uses `uname -a` to determine arch,
156-
# force the architecture
157-
arch -${PLAT} bash -s << EOF
158-
source ${ROOT_DIR}/gfortran-install/gfortran_utils.sh
159-
install_gfortran
160-
EOF
161163
export DYLD_LIBRARY_PATH=/usr/local/lib:$DYLD_LIBRARY_PATH
162164
CFLAGS="$CFLAGS -arch x86_64"
163165
export SDKROOT=${SDKROOT:-$(xcrun --show-sdk-path)}

0 commit comments

Comments
 (0)