Skip to content
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
4 changes: 3 additions & 1 deletion .github/workflows/posix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
branches:
- main
- maintenance/**
workflow_dispatch: null
schedule:
- cron: '0 0 * * 0'
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/windows-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
branches:
- main
- maintenance/**

env:
OPENBLAS_COMMIT: "v0.3.30"
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
branches:
- main
- maintenance/**
workflow_dispatch: null

env:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "scipy-openblas64"
# v0.3.30
version = "0.3.30.0.7"
version = "0.3.30.0.8"
requires-python = ">=3.7"
description = "Provides OpenBLAS for python packaging"
readme = "README.md"
Expand Down
20 changes: 11 additions & 9 deletions tools/build_steps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,17 @@ function before_build {
# get_macpython_environment ${MB_PYTHON_VERSION} venv
python3.9 -m venv venv
source venv/bin/activate
alias gfortran=gfortran-15
# Since install_fortran uses `uname -a` to determine arch,
# force the architecture
unalias gfortran 2>/dev/null || true
arch -${PLAT} bash -s << " EOF"
set -ex
source tools/gfortran_utils.sh
install_gfortran
EOF
which gfortran
gfortran --version

# Deployment target set by gfortran_utils
echo "Deployment target $MACOSX_DEPLOYMENT_TARGET"

Expand Down Expand Up @@ -150,14 +160,6 @@ function do_build_lib {
Darwin-x86_64)
local bitness=64
local target="CORE2"
# Use gfortran-11
unalias gfortran
# Since install_fortran uses `uname -a` to determine arch,
# force the architecture
arch -${PLAT} bash -s << EOF
source ${ROOT_DIR}/gfortran-install/gfortran_utils.sh
install_gfortran
EOF
export DYLD_LIBRARY_PATH=/usr/local/lib:$DYLD_LIBRARY_PATH
CFLAGS="$CFLAGS -arch x86_64"
export SDKROOT=${SDKROOT:-$(xcrun --show-sdk-path)}
Expand Down
Loading