Skip to content

drop win-x86, use newer build tools on win-x86_64 - #293

Draft
mattip wants to merge 14 commits into
MacPython:mainfrom
mattip:update-rtools
Draft

mattip wants to merge 14 commits into
MacPython:mainfrom
mattip:update-rtools

Conversation

@mattip

@mattip mattip commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator
  • I updated the package version in pyproject.toml and made sure the first 3 numbers match ./openblas_commit.txt. If I did not update ./openblas_commit.txt, I incremented the wheel build number (i.e. 0.3.29.0.0 to 0.3.29.0.1)

@mattip

mattip commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator Author

Apparently ubuntu-latest is 26.04, which ships a broken docker version actions/runner-images#14790

@mattip mattip changed the title drop win-x86, use rtools4.5 drop win-x86, use newer build tools on win-x86_64 Nov 18, 2026
@mattip

mattip commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator Author

Since we are now using flang, not gfortran, the license needs to reflect that: llvm apache with a static link exception. Also trying to figure out why the dlls are bigger now 21mb with gcc/gfortran, 27mb with clang/flang

@rgommers

Copy link
Copy Markdown
Collaborator

Hmm that's a large difference - too much for comfort.

@mattip

mattip commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator Author

The wheels are the same size. The dll difference seems to be unused space in the .text section /O3 on flang rather than /O2 on gfortran that zips down to nothing when building the wheel. If anything, the llvm-produced wheels are smaller than the gcc-produced ones, even though the dll is much larger.

@mattip
mattip marked this pull request as draft November 20, 2026 05:37
@mattip

mattip commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator Author

yes, changing flang build to /O2 dropped the dll size to within 1% of gfortran/gcc. So now there are some artifacts worth testing.

@mattip

mattip commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator Author

Fixes #292

@rgommers

Copy link
Copy Markdown
Collaborator

Ah great, that solves the size issue then. The LGPL -> Apache 2.0 change is probably fine, just needs some updates in the numpy/scipy-release repos.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants