Skip to content

Commit 19a231a

Browse files
authored
Update build_wheels_windows.yml
1 parent d649b22 commit 19a231a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build_wheels_windows.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,10 @@ jobs:
107107
python -m pip install cmake==3.24.2
108108
python -m pip install toml && python -c "import toml; c = toml.load('pyproject.toml'); print('\n'.join(c['build-system']['requires']))" >> requirements.txt | python -m pip install -r requirements.txt
109109
110-
echo Using OpenBLAS_HOME=%OpenBLAS_HOME%
111-
set "CMAKE_ARGS=-DLAPACK=ON -DOpenBLAS_INCLUDE_DIR=%OpenBLAS_HOME:/=/%/include -DOpenBLAS_LIBRARIES=%OpenBLAS_HOME:/=/%/lib/libopenblas.lib"
112-
echo CMAKE_ARGS: %CMAKE_ARGS%
110+
set "OpenBLAS_HOME_UNIX=%OpenBLAS_HOME:\=/%"
111+
set "CMAKE_ARGS=-DLAPACK=ON -DOpenBLAS_INCLUDE_DIR=%OpenBLAS_HOME_UNIX%/include -DOpenBLAS_LIBRARIES=%OpenBLAS_HOME_UNIX%/lib/libopenblas.lib"
112+
echo %CMAKE_ARGS%
113+
113114
python setup.py bdist_wheel --py-limited-api=cp37 --dist-dir=%cd%\\wheelhouse -v
114115
shell: cmd
115116

0 commit comments

Comments
 (0)