From 14edd557e0a8ed349a83ff2b15642dffcf79e8b3 Mon Sep 17 00:00:00 2001 From: Nikhil Dabas Date: Wed, 28 Oct 2026 10:11:59 +0000 Subject: [PATCH 1/3] Update to v0.3.34-497 --- CHANGELOG.md | 7 +++++++ OpenBLAS | 2 +- openblas_commit.txt | 2 +- pyproject.toml | 4 ++-- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 019d8b61..a1ffbfb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ ## OpenBLAS v0.3.34 (v0.3.34) +### 0.3.34.497.0 (2026-11-03) + +- update to OpenBLAS develop 791b02a1, which includes OpenMathLib/OpenBLAS#6105. + This fixes a crash in the default allocator's overflow area: overflow slots + re-mapped a new buffer on every allocation and eventually wrote past the end + of `new_release_info`. Seen on Windows ARM64 with many concurrent callers. + ### 0.3.34.481.3 (2026-11-2) - Refactor gha upload to anaconda.org diff --git a/OpenBLAS b/OpenBLAS index 5137bb62..791b02a1 160000 --- a/OpenBLAS +++ b/OpenBLAS @@ -1 +1 @@ -Subproject commit 5137bb62b4ca24fa88873809b845ffc18e601256 +Subproject commit 791b02a1a00c996b66a894f6df93421c53b62d80 diff --git a/openblas_commit.txt b/openblas_commit.txt index c5fd8e91..58892b2e 100644 --- a/openblas_commit.txt +++ b/openblas_commit.txt @@ -1 +1 @@ -v0.3.34-481-g5137bb62 +v0.3.34-497-g791b02a1 diff --git a/pyproject.toml b/pyproject.toml index f03f77a9..3f40f918 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,8 +8,8 @@ build-backend = "setuptools.build_meta" [project] name = "scipy-openblas64" -# 0.3.34-481-g5137bb62 -version = "0.3.34.481.3" +# v0.3.34-497-g791b02a1 +version = "0.3.34.497.0" requires-python = ">=3.7" description = "Provides OpenBLAS for python packaging" readme = "README.md" From 20bd2c8886e3e610736c5ba0acd46379e798a2e0 Mon Sep 17 00:00:00 2001 From: Nikhil Dabas Date: Wed, 28 Oct 2026 10:12:43 +0000 Subject: [PATCH 2/3] Increase NUM_THREADS on Windows to match other platforms --- CHANGELOG.md | 2 ++ tools/build_steps_win_arm64.bat | 2 +- tools/build_steps_windows.sh | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a1ffbfb6..4f4f8b8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ This fixes a crash in the default allocator's overflow area: overflow slots re-mapped a new buffer on every allocation and eventually wrote past the end of `new_release_info`. Seen on Windows ARM64 with many concurrent callers. +- raise `NUM_THREADS` from 24 to 64 on Windows (amd64 and arm64), matching + the Linux and macOS builds. ### 0.3.34.481.3 (2026-11-2) diff --git a/tools/build_steps_win_arm64.bat b/tools/build_steps_win_arm64.bat index 6446b3ca..36890381 100755 --- a/tools/build_steps_win_arm64.bat +++ b/tools/build_steps_win_arm64.bat @@ -174,7 +174,7 @@ cmake .. -G Ninja ^ -DSYMBOLPREFIX="scipy_" ^ -DLIBNAMEPREFIX="scipy_" ^ -DUSE_THREADS=1 ^ - -DNUM_THREADS=24 ^ + -DNUM_THREADS=64 ^ %interface_flags% if errorlevel 1 exit /b 1 diff --git a/tools/build_steps_windows.sh b/tools/build_steps_windows.sh index 0674e3c8..0ef916d6 100644 --- a/tools/build_steps_windows.sh +++ b/tools/build_steps_windows.sh @@ -117,7 +117,7 @@ sed -e "s/^VERSION = .*/VERSION = ${version}/" -i.bak Makefile.rule # Build OpenBLAS CFLAGS="$CFLAGS -fvisibility=protected -fno-ident" \ make BINARY=$build_bits DYNAMIC_ARCH=1 USE_THREAD=1 USE_OPENMP=0 \ - NUM_THREADS=24 NO_WARMUP=1 NO_AFFINITY=1 CONSISTENT_FPCSR=1 \ + NUM_THREADS=64 NO_WARMUP=1 NO_AFFINITY=1 CONSISTENT_FPCSR=1 \ BUILD_LAPACK_DEPRECATED=1 TARGET=PRESCOTT BUFFERSIZE=20 \ LDFLAGS="$LDFLAGS" \ DYNAMIC_LIST="$dynamic_list" \ From 9c280fb6dd81b331ae4d6c071326f43c61ecff2f Mon Sep 17 00:00:00 2001 From: Nikhil Dabas Date: Wed, 4 Nov 2026 09:45:47 +0000 Subject: [PATCH 3/3] Update to v0.3.34-678 --- CHANGELOG.md | 6 ++++-- OpenBLAS | 2 +- openblas_commit.txt | 2 +- pyproject.toml | 4 ++-- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f4f8b8d..dffa8f5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,13 @@ ## OpenBLAS v0.3.34 (v0.3.34) -### 0.3.34.497.0 (2026-11-03) +### 0.3.34.678.0 (2026-11-04) -- update to OpenBLAS develop 791b02a1, which includes OpenMathLib/OpenBLAS#6105. +- update to OpenBLAS develop 02f58544, which includes OpenMathLib/OpenBLAS#6105. This fixes a crash in the default allocator's overflow area: overflow slots re-mapped a new buffer on every allocation and eventually wrote past the end of `new_release_info`. Seen on Windows ARM64 with many concurrent callers. + It also includes OpenMathLib/OpenBLAS#6220, which exports `xerbla_` again + (hidden since the switch to `-fvisibility=hidden`). - raise `NUM_THREADS` from 24 to 64 on Windows (amd64 and arm64), matching the Linux and macOS builds. diff --git a/OpenBLAS b/OpenBLAS index 791b02a1..02f58544 160000 --- a/OpenBLAS +++ b/OpenBLAS @@ -1 +1 @@ -Subproject commit 791b02a1a00c996b66a894f6df93421c53b62d80 +Subproject commit 02f585444a0fba2505cfda77cc6684de008ea477 diff --git a/openblas_commit.txt b/openblas_commit.txt index 58892b2e..5730c1ac 100644 --- a/openblas_commit.txt +++ b/openblas_commit.txt @@ -1 +1 @@ -v0.3.34-497-g791b02a1 +v0.3.34-678-g02f58544 diff --git a/pyproject.toml b/pyproject.toml index 3f40f918..5f368444 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,8 +8,8 @@ build-backend = "setuptools.build_meta" [project] name = "scipy-openblas64" -# v0.3.34-497-g791b02a1 -version = "0.3.34.497.0" +# v0.3.34-678-g02f58544 +version = "0.3.34.678.0" requires-python = ">=3.7" description = "Provides OpenBLAS for python packaging" readme = "README.md"