Skip to content

Commit 47f665d

Browse files
Copilotalexlib
andcommitted
Fix Windows build: Remove scipy-openblas64 INCLUDE path
Co-authored-by: alexlib <747110+alexlib@users.noreply.github.com>
1 parent 1ea9b91 commit 47f665d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ repair-wheel-command = "python -c \"import scipy_openblas64, subprocess, sys; su
3333

3434
[tool.cibuildwheel.windows.environment]
3535
EASYSBA_LAPACK_LIBS = "openblas"
36-
# These $(...) commands will now work because scipy-openblas64 is on the host
37-
INCLUDE = "$(python -c \"import scipy_openblas64; print(scipy_openblas64.get_include_dir())\");$INCLUDE"
36+
# Only add the library directory for linking. Do NOT add include directory
37+
# to avoid conflicts with scipy-openblas64's lapack.h (has C99 complex types
38+
# incompatible with MSVC). The project has its own lapack_compat.h header.
3839
LIB = "$(python -c \"import scipy_openblas64; print(scipy_openblas64.get_lib_dir())\");$LIB"

0 commit comments

Comments
 (0)