8000 NumPy 1.21.0 release. · MacPython/numpy-wheels@4f96976 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 4f96976

Browse files
committed
NumPy 1.21.0 release.
1 parent 3749255 commit 4f96976

File tree

4 files changed

+20
-9
lines changed

4 files changed

+20
-9
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ env:
22
global:
33
- REPO_DIR=numpy
44
# Also see CRON_COMMIT below
5-
- BUILD_COMMIT=c0b003e9c787ccab27f6fe57c154d7b881da5795
5+
- BUILD_COMMIT=c3d0a09342c08c466984654bc4738af595fba896
66
- BUILD_DEPENDS=cython==0.29.24
77
- TEST_DEPENDS="pytest hypothesis cffi pytz"
88
# Commit when running from cron job

azure-pipelines.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@ pr:
1212
- v1.21.x
1313

1414
variables:
15-
BUILD_COMMIT: c0b003e9c787ccab27f6fe57c154d7b881da5795
15+
BUILD_COMMIT: c3d0a09342c08c466984654bc4738af595fba896
1616

1717
jobs:
1818
- template: azure/windows.yml
1919
parameters:
2020
name: windows2017
2121
vmImage: vs2017-win2016
22+
timeoutInMinutes: 90
2223
matrix:
2324
py_3.7_32:
2425
PYTHON_VERSION: "3.7.x"
@@ -53,6 +54,7 @@ jobs:
5354
parameters:
5455
name: linux
5556
vmImage: ubuntu-18.04
57+
timeoutInMinutes: 90
5658
matrix:
5759
py_3.7_32:
5860
MB_PYTHON_VERSION: "3.7"
@@ -117,6 +119,7 @@ jobs:
117119
parameters:
118120
name: macOS
119121
vmImage: macOS-10.15
122+
timeoutInMinutes: 90
120123
matrix:
121124
py_3.7_64:
122125
MB_PYTHON_VERSION: "3.7"

azure/posix.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
parameters:
22
name: ""
33
vmImage: ""
4+
timeoutInMinutes: 60
45
matrix: []
56

67
jobs:
78
- job: ${{ parameters.name }}
9+
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
810
pool:
911
vmImage: ${{ parameters.vmImage }}
1012
variables:
@@ -61,7 +63,7 @@ jobs:
6163
- bash: |
6264
set -ex
6365
echo $BUILD_COMMIT
64-
66+
6567
pip install virtualenv wheel
6668
BUILD_DEPENDS="$CYTHON_BUILD_DEP"
6769

azure/windows.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
parameters:
22
name: ""
33
vmImage: ""
4+
timeoutInMinutes: 60
45
matrix: []
56

67
jobs:
78
- job: ${{ parameters.name }}
9+
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
810
pool:
911
vmImage: ${{ parameters.vmImage }}
1012
variables:
@@ -46,7 +48,7 @@ jobs:
4648
4749
- bash: |
4850 8000
set -e
49-
echo PYTHON $PYTHON_VERSION $PYTHON_ARCH
51+
echo PYTHON $PYTHON_VERSION $PYTHON_ARCH $BITS $NPY_USE_BLAS_ILP64
5052
echo Build Reason: $BUILD_REASON
5153
python --version
5254
python -c "import struct; print(struct.calcsize('P') * 8)"
@@ -75,6 +77,7 @@ jobs:
7577
7678
- powershell: |
7779
choco install -y mingw --forcex86 --force --version=7.3.0
80+
refreshenv
7881
displayName: 'Install 32-bit mingw for 32-bit builds'
7982
condition: eq(variables['BITS'], 32)
8083
@@ -85,8 +88,8 @@ jobs:
8588
# a bit overkill, all we really need is cython
8689
python -m pip install --timeout=60 -r test_requirements.txt
8790
88-
# handle license
89-
cp ../LICENSE_win32.txt LICENSE.txt
91+
# append to license
92+
cat ../LICENSE_win32.txt >> LICENSE.txt
9093
9194
# handle _distributor_init.py
9295
PYTHONPATH=tools python -c "import openblas_support; openblas_support.make_init('numpy')"
@@ -96,17 +99,20 @@ jobs:
9699
# mingw does not like. Instead copy it to a directory and set OPENBLAS
97100
target=$(python tools/openblas_support.py)
98101
mkdir -p openblas
99-
echo Copying $target to openblas
100102
cp $target openblas
101-
echo "##vso[task.setvariable variable=OPENBLAS]openblas"
103+
popd
102104
displayName: Prepare the build
103105
104106
- powershell: |
105107
If ($(BITS) -eq 32) {
106108
$env:CFLAGS = "-m32"
107109
$env:LDFLAGS = "-m32"
108110
$env:PATH = "C:\\ProgramData\\chocolatey\\lib\\mingw\\tools\\install\\mingw$(BITS)\\bin;" + $env:PATH
109-
refreshenv
111+
}
112+
If ( Test-Path env:NPY_USE_BLAS_ILP64 ) {
113+
$env:OPENBLAS64_ = "openblas"
114+
} else {
115+
$env:OPENBLAS = "openblas"
110116
}
111117
# Build the wheel
112118
pushd numpy

0 commit comments

Comments
 (0)
0