File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,20 +118,22 @@ if errorlevel 1 exit /b 1
118118
119119echo Build complete. Returning to Batch.
120120
121- cd ../../local
121+ cd ../..
122122if " %if_bits% " == " 32" (
123123 echo Rewrite to scipy_openblas32
124124 set out_pyproject = pyproject_64_32.toml
125125 powershell -Command " (Get-Content 'pyproject.toml') -replace 'openblas64', 'openblas32' | Set-Content !out_pyproject! "
126+ cd local
126127 move scipy_openblas64 scipy_openblas32
127128 powershell -Command " (Get-Content 'scipy_openblas32\__main__.py') -replace 'openblas64', 'openblas32' | Out-File 'scipy_openblas32\__main__.py' -Encoding utf8"
128129 powershell -Command " (Get-Content 'scipy_openblas32\__init__.py') -replace 'openblas64', 'openblas32' | Out-File 'scipy_openblas32\__init__.py' -Encoding utf8"
129130 powershell -Command " (Get-Content 'scipy_openblas32\__init__.py') -replace 'openblas_get_config64_', 'openblas_get_config' | Out-File 'scipy_openblas32\__init__.py' -Encoding utf8"
130131 powershell -Command " (Get-Content 'scipy_openblas32\__init__.py') -replace 'cflags =.*', 'cflags = \" -DBLAS_SYMBOL_PREFIX=scipy_\" ' | Out-File 'local\scipy_openblas32\__init__.py' -Encoding utf8"
132+ cd ..
131133)
132134
133135:: Prepare destination directory
134- cd ../ OpenBLAS/build
136+ cd OpenBLAS/build
135137echo Preparing destination directory at %DEST_DIR%
136138if not exist " %DEST_DIR% \lib\cmake\OpenBLAS" mkdir " %DEST_DIR% \lib\cmake\OpenBLAS"
137139if not exist " %DEST_DIR% \include" mkdir " %DEST_DIR% \include"
You can’t perform that action at this time.
0 commit comments