Skip to content

Commit c80b56f

Browse files
authored
Update build_wheels_windows.yml
1 parent 60b788c commit c80b56f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build_wheels_windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ jobs:
8989
9090
set "OpenBLAS_HOME=%CD%"
9191
set "PATH=%OpenBLAS_HOME%\bin;%PATH%"
92-
powershell -Command "(Get-Content lib/cmake/openblas/OpenBLASConfig.cmake) -replace 'win32/include', 'D:/a/opencv-python/opencv-python/openblas/include' -replace 'win64/include', 'D:/a/opencv-python/opencv-python/openblas/include' -replace 'win32/bin/libopenblas.dll', 'D:/a/opencv-python/opencv-python/openblas/lib/libopenblas.lib' -replace 'win64/bin/libopenblas.dll', 'D:/a/opencv-python/opencv-python/openblas/lib/libopenblas.lib' | Set-Content lib/cmake/openblas/OpenBLASConfig.cmake"
93-
92+
powershell -Command "$cfg='lib/cmake/openblas/OpenBLASConfig.cmake'; $inc=$env:OpenBLAS_HOME + '/include'; $lib=$env:OpenBLAS_HOME + '/lib/libopenblas.lib'; (Get-Content $cfg -Raw) -replace 'SET\(OpenBLAS_INCLUDE_DIRS .*?\)', 'SET(OpenBLAS_INCLUDE_DIRS ' + $inc + ')' -replace 'SET\(OpenBLAS_LIBRARIES .*?\)', 'SET(OpenBLAS_LIBRARIES ' + $lib + ')' | Set-Content $cfg"
93+
9494
type D:\a\opencv-python\opencv-python\openblas\lib\cmake\openblas\OpenBLASConfig.cmake
9595

9696

0 commit comments

Comments
 (0)