-
Notifications
You must be signed in to change notification settings - Fork 850
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added openblas to build to unblock USAC.
- Loading branch information
1 parent
ca13925
commit 0a9da17
Showing
6 changed files
with
56 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,14 +61,27 @@ jobs: | |
uses: microsoft/[email protected] | ||
- name: Build a package | ||
# CMake 3.25 regression fix. See https://stackoverflow.com/questions/74162633/problem-compiling-from-source-opencv-with-mvsc2019-in-64-bit-version | ||
# OpenBLAS package bug on Windows: https://github.com/xianyi/OpenBLAS/issues/4227 | ||
run: | | ||
mkdir openblas | ||
cd openblas | ||
curl -o OpenBLAS-0.3.24.zip https://altushost-swe.dl.sourceforge.net/project/openblas/v0.3.24/OpenBLAS-0.3.24-${{ matrix.platform }}.zip | ||
unzip OpenBLAS-0.3.24.zip | ||
cp bin\libopenblas.dll bin\libopenblas.exp.dll | ||
set OpenBLAS_HOME=${{ github.workspace }}\openblas | ||
dir $OpenBLAS_HOME/ | ||
dir $OpenBLAS_HOME/bin/ | ||
set PATH=${{ github.workspace }}\openblas\bin;%PATH% | ||
set | ||
cd .. | ||
python --version | ||
python -m pip install --upgrade pip | ||
python -m pip install --upgrade setuptools | ||
python -m pip install cmake==3.24.2 | ||
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 | ||
set "CI_BUILD=1" && python setup.py bdist_wheel --py-limited-api=cp37 --dist-dir=%cd%\wheelhouse -v | ||
shell: cmd | ||
working-directory: ${{ github.workspace }} | ||
- name: Saving all wheels | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule opencv_contrib
updated
19 files
Submodule opencv_extra
updated
9 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters