File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -60,25 +60,23 @@ jobs:
6060 uses : microsoft/setup-msbuild@v1.1
6161 - name : Setup NASM
6262 uses : ilammy/setup-nasm@v1
63- - name : Get OpenBLAS
63+ working-directory : ${{ github.workspace }}
64+ - name : Build a package
65+ # CMake 3.25 regression fix. See https://stackoverflow.com/questions/74162633/problem-compiling-from-source-opencv-with-mvsc2019-in-64-bit-version
6466 run : |
6567 mkdir openblas
6668 cd openblas
6769 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
6870 unzip OpenBLAS-0.3.30.zip
6971 pwd
7072 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 : |
73+ cd ..
7674 python --version
7775 python -m pip install --upgrade pip
7876 python -m pip install --upgrade setuptools
7977 python -m pip install cmake==3.24.2
8078 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
79+ set "CI_BUILD=1" && set "OpenBLAS_HOME=${{ github.workspace }}\openblas" && python setup.py bdist_wheel --py-limited-api=cp37 --dist-dir=%cd%\wheelhouse -v
8280 shell : cmd
8381 working-directory : ${{ github.workspace }}
8482 - name : Saving all wheels
You can’t perform that action at this time.
0 commit comments