Skip to content

Commit 067d7f3

Browse files
authored
Update build_wheels_windows.yml
1 parent 4c78354 commit 067d7f3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build_wheels_windows.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ jobs:
8989
9090
set "OpenBLAS_HOME=%CD%"
9191
set "PATH=%OpenBLAS_HOME%\bin;%PATH%"
92-
powershell -Command "$base = Resolve-Path .; $cfg = 'lib/cmake/openblas/OpenBLASConfig.cmake'; $fullInclude = Join-Path $base 'include'; $fullLib = Join-Path $base 'bin/libopenblas.dll'; (Get-Content $cfg) -replace 'SET\\(OpenBLAS_INCLUDE_DIRS.*?\\)', 'SET(OpenBLAS_INCLUDE_DIRS \"' + $fullInclude + '\")' -replace 'SET\\(OpenBLAS_LIBRARIES.*?\\)', 'SET(OpenBLAS_LIBRARIES \"' + $fullLib + '\")' | Set-Content $cfg"
92+
powershell -Command "$base = Resolve-Path .; $cfg = 'lib/cmake/openblas/OpenBLASConfig.cmake'; $fullInclude = (Join-Path $base 'include').Replace('\','/'); $fullLib = (Join-Path $base 'bin/libopenblas.dll').Replace('\','/'); $content = Get-Content $cfg; $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"
93+
type D:\a\opencv-python\opencv-python\openblas\lib\cmake\openblas\OpenBLASConfig.cmake
94+
9395
9496
if exist %OpenBLAS_HOME%\bin\libopenblas.dll (
9597
copy /y %OpenBLAS_HOME%\bin\libopenblas.dll %OpenBLAS_HOME%\bin\libopenblas.exp.dll

0 commit comments

Comments
 (0)