Skip to content

Wheels and other things#9

Merged
config-i1 merged 2 commits into
mainfrom
python
Jun 20, 2026
Merged

Wheels and other things#9
config-i1 merged 2 commits into
mainfrom
python

Conversation

@config-i1

Copy link
Copy Markdown
Collaborator

No description provided.

config-i1 and others added 2 commits June 20, 2026 13:53
Update the cibuildwheel matrix (Linux/macOS/Windows) to cp311-cp314,
bump requires-python to >=3.11, the mypy target to 3.11, and the README
badge to 3.11+.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…illo

vcpkg install of openblas + lapack-reference fails on Windows: vcpkg's
Fortran toolchain (vcpkg-gfortran -> LLVMFlang) can't build reference
LAPACK, so every Windows wheel job died at CIBW_BEFORE_ALL. Same failure
the sibling `smooth` package hit and solved.

Switch Windows to the OpenMathLib pre-built OpenBLAS zip (BLAS + LAPACK in
one DLL, no Fortran build) consumed via OPENBLAS_HOME, mirroring smooth;
delvewheel bundles libopenblas.dll. CMakeLists now:
  - locates system Armadillo (Linux/macOS) and falls back to a header-only
    FetchContent of armadillo-code on Windows (no system Armadillo, no
    vcpkg). SOURCE_SUBDIR=include downloads without running Armadillo's
    CMake; ARMA_USE_BLAS/LAPACK set explicitly for the fetched headers.
  - on Windows, points BLAS/LAPACK at OpenBLAS's import lib from
    OPENBLAS_HOME, FATAL_ERROR if absent; Linux/macOS keep find_package.

Workflow: replace the vcpkg cache + install/toolchain env with the
OpenBLAS download (cached at C:\openblas) + OPENBLAS_HOME + delvewheel
--add-path C:/openblas/bin.

Verified: Linux configure finds system Armadillo + OpenBLAS, clean rebuild
imports, 39 functionality tests pass; the Windows FetchContent download-only
idiom validated standalone against gitlab.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@config-i1
config-i1 merged commit ec9d463 into main Jun 20, 2026
1 check passed
config-i1 added a commit that referenced this pull request Jul 23, 2026
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.

1 participant