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: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,14 @@ jobs:

call-windows:
uses: ./.github/workflows/windows.yml
with:
publish: true


call-windows-arm:
uses: ./.github/workflows/windows-arm.yml
with:
publish: true


# -------------------------------------------------------------------------------------
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/windows-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@ on:
branches:
- main
- maintenance/**
workflow_dispatch: null
schedule:
- cron: '0 0 * * 0'
workflow_call:
inputs:
publish:
type: boolean
default: false
required: false


env:
Expand All @@ -29,6 +37,10 @@ jobs:

env:
INTERFACE64: ${{ matrix.INTERFACE64 }}
# A scheduled or manually triggered run builds against the latest
# OpenBLAS HEAD instead of openblas_commit.txt
# A run called from publish.yml builds the pinned commit.
NIGHTLY: ${{ inputs.publish == false && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }}

steps:

Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@ on:
- main
- maintenance/**
workflow_dispatch: null
schedule:
- cron: '0 0 * * 0'
workflow_call:
inputs:
publish:
type: boolean
default: false
required: false

env:
OPENBLAS_ROOT: "c:\\opt"
Expand All @@ -30,6 +37,12 @@ jobs:
fail-fast: false
runs-on: ${{ matrix.os }}

env:
# A scheduled or manually triggered run builds against the latest
# OpenBLAS HEAD instead of openblas_commit.txt
# A run called from publish.yml builds the pinned commit.
NIGHTLY: ${{ inputs.publish == false && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }}

timeout-minutes: 90
steps:
- uses: actions/checkout@v6.0.1
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## OpenBLAS v0.3.34 (v0.3.34)

### 0.3.34.481.1 (2026-10-29)

- Add a weekly scheduled run to both Windows workflows against OpenBLAS HEAD.

### 0.3.34.481.0 (2026-10-20)

- update to latest develop HEAD, fix `NO_LIBGFORTRAN` patch
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"
# 0.3.34-481-g5137bb62
version = "0.3.34.481.0"
version = "0.3.34.481.1"
requires-python = ">=3.7"
description = "Provides OpenBLAS for python packaging"
readme = "README.md"
Expand Down
15 changes: 14 additions & 1 deletion tools/build_steps_win_arm64.bat
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,14 @@ set /p OPENBLAS_COMMIT=<openblas_commit.txt

REM Enter OpenBLAS directory and checkout buildable commit
cd OpenBLAS
git checkout %OPENBLAS_COMMIT%
if "%NIGHTLY%"=="true" (
REM Build the latest HEAD of develop
git fetch origin
git checkout -B develop origin/develop
) else (
git checkout %OPENBLAS_COMMIT%
)
if errorlevel 1 exit /b 1
git merge-base --is-ancestor %first_woa_buildable_commit% HEAD 2>NUL
if errorlevel 1 (
echo OpenBLAS commit does not contain WoA build fixes.
Expand All @@ -82,6 +89,12 @@ REM Patch VERSION
REM version=$(grep "^version =" ../pyproject.toml | sed 's/version = "//;s/"//')
REM sed -e "s/^VERSION = .*/VERSION = ${version}/" -i.bak Makefile.rule

if "%NIGHTLY%"=="true" (
REM v0.3.24-30-g138ed79f -> 0.3.24.30.0 in pyproject.toml
powershell -Command "$v = ((git describe --tags --abbrev=8) -replace '^v(.*)-g.*', '$1') -replace '-', '.'; (Get-Content ..\pyproject.toml) -replace '^version = .*', ('version = \"' + $v + '.0\"') | Set-Content ..\pyproject.toml"
if errorlevel 1 exit /b 1
)

for /f "tokens=3 delims= " %%v in ('findstr /b "version = " ..\pyproject.toml') do set version=%%v
set version=%version:"=%
REM cwd is already OpenBLAS here, so the source is Makefile.rule, not
Expand Down
15 changes: 13 additions & 2 deletions tools/build_steps_windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,12 @@ git submodule update --init --recursive

# Get / clean code
git fetch origin
git checkout $(cat ../openblas_commit.txt)
if [ "$NIGHTLY" == "true" ]; then
# Build the latest HEAD of develop
git checkout -B develop origin/develop
else
git checkout $(cat ../openblas_commit.txt)
fi
git clean -fxd
git reset --hard
rm -rf $openblas_root/$build_bits
Expand Down Expand Up @@ -100,7 +105,13 @@ for p in ../patches-common/*.patch ../patches-windows/*.patch; do
done

# Patch VERSION
version=$(grep "^version =" ../pyproject.toml | sed 's/version = "//;s/"//')
if [ "$NIGHTLY" == "true" ]; then
# v0.3.24-30-g138ed79f -> 0.3.24.30.0 in pyproject.toml
version=$(echo $OPENBLAS_VERSION | sed -e "s/^v\(.*\)-g.*/\1/" | sed -e "s/-/./g").0
sed -e "s/^version = .*/version = \"${version}\"/" -i.bak ../pyproject.toml
else
version=$(grep "^version =" ../pyproject.toml | sed 's/version = "//;s/"//')
fi
sed -e "s/^VERSION = .*/VERSION = ${version}/" -i.bak Makefile.rule

# Build OpenBLAS
Expand Down
Loading