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
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## OpenBLAS v0.3.34 (v0.3.34)

### 0.3.34.481.6 (2026-11-30)

- Use the correct lapack headers for windows builds (function names with
extensions)

### 0.3.34.481.5 (2026-11-30)

- Patch threading in gesv on win-arm64
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.5"
version = "0.3.34.481.6"
requires-python = ">=3.7"
description = "Provides OpenBLAS for python packaging"
readme = "README.md"
Expand Down
18 changes: 13 additions & 5 deletions tools/build_steps_win.bat
Original file line number Diff line number Diff line change
Expand Up @@ -322,17 +322,25 @@ if not exist "%DEST_DIR%\lib\cmake\openblas\OpenBLASConfig.cmake" (
)
if exist openblasconfigversion.cmake copy /Y openblasconfigversion.cmake "%DEST_DIR%\lib\cmake\openblas\"

REM Copy LAPACKE header files first: the generated directory below contains
REM lapacke.h and lapack.h rewritten with SYMBOLPREFIX/SYMBOLSUFFIX, which
REM must overwrite these unmodified netlib copies, not the other way around.
echo Copying LAPACKE header files...
xcopy /Y "..\lapack-netlib\lapacke\include\*.h" "%DEST_DIR%\include\"
if errorlevel 1 exit /b 1

REM Copy header files
echo Copying generated header files...
if exist generated xcopy /E /Y generated "%DEST_DIR%\include\"
if exist lapacke_mangling.h copy /Y lapacke_mangling.h "%DEST_DIR%\include\"
if exist openblas_config.h copy /Y openblas_config.h "%DEST_DIR%\include\"


REM Copy LAPACKE header files
echo Copying LAPACKE header files...
xcopy /Y "..\lapack-netlib\lapacke\include\*.h" "%DEST_DIR%\include\"
if errorlevel 1 exit /b 1
REM Make sure the shipped lapacke.h uses the prefixed names the library exports
findstr /c:"scipy_LAPACKE_dgesv" "%DEST_DIR%\include\lapacke.h" >NUL
if errorlevel 1 (
echo Error: lapacke.h in %DEST_DIR%\include does not use the scipy_ prefix.
exit /b 1
)

echo Create pkgconfig scipy-openblas.pc
if not exist "%DEST_DIR%\lib\pkgconfig" mkdir "%DEST_DIR%\lib\pkgconfig"
Expand Down
Loading