Skip to content

Commit ad20fe5

Browse files
authored
Update build_wheels_windows.yml
1 parent 46d9f36 commit ad20fe5

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 "$cfg = 'lib/cmake/openblas/OpenBLASConfig.cmake'; $inc = Join-Path $env:OpenBLAS_HOME 'include' -Resolve; $lib = Join-Path $env:OpenBLAS_HOME 'lib/libopenblas.lib' -Resolve; $inc = $inc -replace '\\','/'; $lib = $lib -replace '\\','/'; $txt = Get-Content $cfg -Raw; $txt = $txt -replace 'SET\(OpenBLAS_INCLUDE_DIRS\s+.*?\)', 'SET(OpenBLAS_INCLUDE_DIRS ' + $inc + ')'; $txt = $txt -replace 'SET\(OpenBLAS_LIBRARIES\s+.*?\)', 'SET(OpenBLAS_LIBRARIES ' + $lib + ')'; Set-Content $cfg $txt"
93-
92+
powershell -Command "$cfg = 'lib/cmake/openblas/OpenBLASConfig.cmake'; $inc = (Join-Path $env:OpenBLAS_HOME 'include') -replace '\\','/'; $lib = (Join-Path $env:OpenBLAS_HOME 'lib/libopenblas.lib') -replace '\\','/'; $txt = Get-Content $cfg -Raw; $txt = $txt -replace 'SET\(OpenBLAS_INCLUDE_DIRS\s+.*?\)', 'SET(OpenBLAS_INCLUDE_DIRS ' + \"`\"$inc`\"\" + ')'; $txt = $txt -replace 'SET\(OpenBLAS_LIBRARIES\s+.*?\)', 'SET(OpenBLAS_LIBRARIES ' + \"`\"$lib`\"\" + ')'; Set-Content $cfg $txt"
93+
9494
type D:\a\opencv-python\opencv-python\openblas\lib\cmake\openblas\OpenBLASConfig.cmake
9595
9696

0 commit comments

Comments
 (0)