diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml index 111508c7..ee0c2574 100644 --- a/.github/workflows/posix.yml +++ b/.github/workflows/posix.yml @@ -4,7 +4,9 @@ on: push: branches: [ main ] pull_request: - branches: [ main ] + branches: + - main + - maintenance/** workflow_dispatch: null schedule: - cron: '0 0 * * 0' diff --git a/.github/workflows/windows-arm.yml b/.github/workflows/windows-arm.yml index e0e5181a..da59289f 100644 --- a/.github/workflows/windows-arm.yml +++ b/.github/workflows/windows-arm.yml @@ -4,7 +4,9 @@ on: push: branches: [ main ] pull_request: - branches: [ main ] + branches: + - main + - maintenance/** env: OPENBLAS_COMMIT: "v0.3.30" diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 69f70aea..00fd18d5 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -4,7 +4,9 @@ on: push: branches: [ main ] pull_request: - branches: [ main ] + branches: + - main + - maintenance/** workflow_dispatch: null env: diff --git a/pyproject.toml b/pyproject.toml index f8a83ed5..c35030d6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/tools/build_steps.sh b/tools/build_steps.sh index 0d77b933..275e28eb 100644 --- a/tools/build_steps.sh +++ b/tools/build_steps.sh @@ -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" @@ -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)}