Skip to content

Commit c62730d

Browse files
authored
Update build_wheels_windows.yml
1 parent a447138 commit c62730d

File tree

1 file changed

+8
-18
lines changed

1 file changed

+8
-18
lines changed

.github/workflows/build_wheels_windows.yml

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,14 @@ jobs:
6767
- name: Setup NASM
6868
uses: ilammy/setup-nasm@v1
6969

70-
- name: Setup OpenBLAS
71-
shell: cmd
70+
- name: Build a package
7271
run: |
72+
python --version
73+
python -m pip install --upgrade pip
74+
python -m pip install --upgrade setuptools
75+
python -m pip install cmake==3.24.2
76+
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
77+
7378
setlocal enableextensions enabledelayedexpansion
7479
7580
rem Determine correct architecture
@@ -92,22 +97,7 @@ jobs:
9297
if exist %OpenBLAS_HOME%\bin\libopenblas.dll (
9398
copy /y %OpenBLAS_HOME%\bin\libopenblas.dll %OpenBLAS_HOME%\bin\libopenblas.exp.dll
9499
)
95-
96-
echo Finished OpenBLAS setup
97-
dir %OpenBLAS_HOME%\bin
98-
dir %OpenBLAS_HOME%\lib
99-
dir %OpenBLAS_HOME%
100-
dir %OpenBLAS_HOME%\include
101-
102-
103-
- name: Build a package
104-
run: |
105-
python --version
106-
python -m pip install --upgrade pip
107-
python -m pip install --upgrade setuptools
108-
python -m pip install cmake==3.24.2
109-
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
110-
100+
111101
set "CMAKE_ARGS=-DLAPACK=ON -DOpenBLAS_INCLUDE_DIR=%OpenBLAS_HOME%\include -DOpenBLAS_LIBRARIES=%OpenBLAS_HOME%\bin\libopenblas.dll"
112102
echo %OpenBLAS_HOME%
113103
echo %CMAKE_ARGS%

0 commit comments

Comments
 (0)