File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -60,25 +60,22 @@ jobs:
6060 uses : microsoft/setup-msbuild@v1.1
6161 - name : Setup NASM
6262 uses : ilammy/setup-nasm@v1
63- - name : Get OpenBLAS
63+ - name : Build a package
64+ # CMake 3.25 regression fix. See https://stackoverflow.com/questions/74162633/problem-compiling-from-source-opencv-with-mvsc2019-in-64-bit-version
6465 run : |
6566 mkdir openblas
6667 cd openblas
6768 curl -o OpenBLAS-0.3.30.zip -L https://github.com/OpenMathLib/OpenBLAS/releases/download/v0.3.30/OpenBLAS-0.3.30-${{ matrix.platform }}.zip
6869 unzip OpenBLAS-0.3.30.zip
6970 pwd
7071 dir
71- shell : cmd
72- working-directory : ${{ github.workspace }}
73- - name : Build a package
74- # CMake 3.25 regression fix. See https://stackoverflow.com/questions/74162633/problem-compiling-from-source-opencv-with-mvsc2019-in-64-bit-version
75- run : |
72+ cd ..
7673 python --version
7774 python -m pip install --upgrade pip
7875 python -m pip install --upgrade setuptools
7976 python -m pip install cmake==3.24.2
8077 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
81- set "CI_BUILD=1" && python setup.py bdist_wheel --py-limited-api=cp37 --dist-dir=%cd%\wheelhouse -v
78+ set "CI_BUILD=1" && set "OpenBLAS_HOME=${{ github.workspace }}\openblas" && python setup.py bdist_wheel --py-limited-api=cp37 --dist-dir=%cd%\wheelhouse -v
8279 shell : cmd
8380 working-directory : ${{ github.workspace }}
8481 - name : Saving all wheels
You can’t perform that action at this time.
0 commit comments