Skip to content

ci(windows): add Windows build workflow with openblas overlay and For… - #214

Open
mattcapa wants to merge 1 commit into
devfrom
ci/windows-build
Open

ci(windows): add Windows build workflow with openblas overlay and For…#214
mattcapa wants to merge 1 commit into
devfrom
ci/windows-build

Conversation

@mattcapa

Copy link
Copy Markdown
Collaborator
  • .github/workflows/windows-build.yml: build seahowl on windows-latest via vcpkg manifest mode. Uses the runner's bundled mingw gfortran (no MSYS2 install needed), strips every flang*.exe directory from PATH (discovered via Get-Command -All so we are not fooled by reinjection from vcvars), exports FC and the sanitized PATH for downstream steps and vcpkg port builds. Caches vcpkg binaries via x-gha. Collects per-port vcpkg logs on failure.
  • external/vcpkg/ports/blas, external/vcpkg/ports/lapack: empty overlay metaports that route BLAS/LAPACK to openblas instead of lapack-reference, so we do not need a Fortran compiler just to satisfy find_package(BLAS).
  • external/vcpkg/triplets/x64-windows.cmake: overlay triplet identical to upstream x64-windows but with VCPKG_ENV_PASSTHROUGH=FC PATH so the Fortran configuration propagates into every port's inner build (openfast).

…tran env passthrough

- .github/workflows/windows-build.yml: build seahowl on windows-latest via
  vcpkg manifest mode. Uses the runner's bundled mingw gfortran (no MSYS2
  install needed), strips every flang*.exe directory from PATH (discovered
  via Get-Command -All so we are not fooled by reinjection from vcvars),
  exports FC and the sanitized PATH for downstream steps and vcpkg port
  builds. Caches vcpkg binaries via x-gha. Collects per-port vcpkg logs on
  failure.
- external/vcpkg/ports/blas, external/vcpkg/ports/lapack: empty overlay
  metaports that route BLAS/LAPACK to openblas instead of lapack-reference,
  so we do not need a Fortran compiler just to satisfy find_package(BLAS).
- external/vcpkg/triplets/x64-windows.cmake: overlay triplet identical to
  upstream x64-windows but with VCPKG_ENV_PASSTHROUGH=FC PATH so the
  Fortran configuration propagates into every port's inner build (openfast).
@mattcapa
mattcapa changed the base branch from main to dev June 24, 2026 15:48
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