Skip to content
Closed
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
10 changes: 5 additions & 5 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ jobs:
C:\vcpkg\vcpkg.exe install openblas:x64-windows
CIBW_ENVIRONMENT_WINDOWS: |
EASYSBA_LAPACK_LIBS=openblas
EASYSBA_INCLUDE_DIRS=C:\\vcpkg\\installed\\x64-windows\\include
EASYSBA_LIBRARY_DIRS=C:\\vcpkg\\installed\\x64-windows\\lib
INCLUDE=C:\\vcpkg\\installed\\x64-windows\\include
LIB=C:\\vcpkg\\installed\\x64-windows\\lib
PATH=C:\\vcpkg\\installed\\x64-windows\\bin;{PATH}
EASYSBA_INCLUDE_DIRS=C:/vcpkg/installed/x64-windows/include
EASYSBA_LIBRARY_DIRS=C:/vcpkg/installed/x64-windows/lib
INCLUDE=C:/vcpkg/installed/x64-windows/include
LIB=C:/vcpkg/installed/x64-windows/lib
Comment on lines +53 to +54
Copy link

Copilot AI Feb 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

INCLUDE and LIB are being overwritten to only the vcpkg paths. This can unintentionally drop the MSVC/Windows SDK include+lib search paths depending on how the toolchain env is initialized, leading to brittle builds. Safer options are to (a) rely solely on EASYSBA_INCLUDE_DIRS/EASYSBA_LIBRARY_DIRS (setup.py already consumes these), or (b) append to the existing values (similar to PATH) instead of replacing them.

Suggested change
INCLUDE=C:/vcpkg/installed/x64-windows/include
LIB=C:/vcpkg/installed/x64-windows/lib
INCLUDE=C:/vcpkg/installed/x64-windows/include;{INCLUDE}
LIB=C:/vcpkg/installed/x64-windows/lib;{LIB}

Copilot uses AI. Check for mistakes.
PATH=C:/vcpkg/installed/x64-windows/bin;{PATH}
Comment thread
alexlib marked this conversation as resolved.
run: python -m cibuildwheel --output-dir wheelhouse

- name: Upload wheels
Expand Down
Loading