Skip to content

Commit

Permalink
Merge pull request numpy#16471 from mattip/mingw32
Browse files Browse the repository at this point in the history
BLD: install mingw32 v7.3.0 for win32
  • Loading branch information
charris authored Jun 2, 2020
2 parents 64b64cd + a8ec8a9 commit fb314a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azure-steps-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ steps:
displayName: 'Download / Install OpenBLAS'

- powershell: |
choco install -y mingw --forcex86 --force --version=5.3.0
choco install -y mingw --forcex86 --force --version=7.3.0
displayName: 'Install 32-bit mingw for 32-bit builds'
condition: eq(variables['BITS'], 32)
# NOTE: for Windows builds it seems much more tractable to use runtests.py
Expand All @@ -36,7 +36,7 @@ steps:
If ($(BITS) -eq 32) {
$env:CFLAGS = "-m32"
$env:LDFLAGS = "-m32"
$env:PATH = "C:\\tools\\mingw32\\bin;" + $env:PATH
$env:PATH = "C:\\ProgramData\\chocolatey\\lib\\mingw\\tools\\install\\mingw$(BITS)\\bin;" + $env:PATH
refreshenv
}
python -c "from tools import openblas_support; openblas_support.make_init('numpy')"
Expand Down

0 comments on commit fb314a3

Please sign in to comment.