File tree Expand file tree Collapse file tree 1 file changed +8
-18
lines changed
Expand file tree Collapse file tree 1 file changed +8
-18
lines changed Original file line number Diff line number Diff line change 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
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%
You can’t perform that action at this time.
0 commit comments