Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1fe589c

Browse files
authoredJun 1, 2025
Update build_wheels_windows.yml
1 parent f911d5c commit 1fe589c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎.github/workflows/build_wheels_windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
9090
set "OpenBLAS_HOME=%CD%"
9191
set "PATH=%OpenBLAS_HOME%\bin;%PATH%"
92-
powershell -Command "$base=Resolve-Path .; $fullInclude=($fullIncludePath=Join-Path $base 'include') -replace '\\','/'; $fullLib=($fullLibPath=Join-Path $base 'bin/libopenblas.dll') -replace '\\','/'; $cfg='lib/cmake/openblas/OpenBLASConfig.cmake'; $content=Get-Content $cfg -Raw; $content=$content -replace 'SET\\(OpenBLAS_INCLUDE_DIRS.*?\\)', 'SET(OpenBLAS_INCLUDE_DIRS \"' + $fullInclude + '\")'; $content=$content -replace 'SET\\(OpenBLAS_LIBRARIES.*?\\)', 'SET(OpenBLAS_LIBRARIES \"' + $fullLib + '\")'; Set-Content $cfg $content"
92+
powershell -Command "$cfg='lib/cmake/openblas/OpenBLASConfig.cmake'; $includePath='D:/a/opencv-python/opencv-python/openblas/include'; $libPath='D:/a/opencv-python/opencv-python/openblas/bin/libopenblas.dll'; (Get-Content $cfg -Raw) -replace 'SET\\(OpenBLAS_INCLUDE_DIRS.*?\\)', 'SET(OpenBLAS_INCLUDE_DIRS \"' + $includePath + '\")' -replace 'SET\\(OpenBLAS_LIBRARIES.*?\\)', 'SET(OpenBLAS_LIBRARIES \"' + $libPath + '\")' | Set-Content $cfg"
9393
type D:\a\opencv-python\opencv-python\openblas\lib\cmake\openblas\OpenBLASConfig.cmake
9494
9595

0 commit comments

Comments
 (0)
Please sign in to comment.