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 67
67
- name : Setup NASM
68
68
uses : ilammy/setup-nasm@v1
69
69
70
- - name : Setup OpenBLAS
71
- shell : cmd
70
+ - name : Build a package
72
71
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
+
73
78
setlocal enableextensions enabledelayedexpansion
74
79
75
80
rem Determine correct architecture
92
97
if exist %OpenBLAS_HOME%\bin\libopenblas.dll (
93
98
copy /y %OpenBLAS_HOME%\bin\libopenblas.dll %OpenBLAS_HOME%\bin\libopenblas.exp.dll
94
99
)
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
+
111
101
set "CMAKE_ARGS=-DLAPACK=ON -DOpenBLAS_INCLUDE_DIR=%OpenBLAS_HOME%\include -DOpenBLAS_LIBRARIES=%OpenBLAS_HOME%\bin\libopenblas.dll"
112
102
echo %OpenBLAS_HOME%
113
103
echo %CMAKE_ARGS%
You can’t perform that action at this time.
0 commit comments