Skip to content

Commit 51990d9

Browse files
committed
Add minor change to NumPy header generation
Sometimes the workflow runs out of memory and the job fails in a non-deterministic way.
1 parent 198bfc1 commit 51990d9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/basemap.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,16 +115,16 @@ jobs:
115115
set -e
116116
. /etc/profile
117117
case "${{matrix.python_version}}" in
118-
2.[67]|3.[0123456]) pkgvers=1.11.3;;
119-
*) pkgvers=1.16.6;;
118+
2.[67]|3.[01234]) pkgvers=1.11.3;;
119+
*) pkgvers=1.16.6;;
120120
esac
121121
pkgname=numpy
122122
pkgcode=numpy-${pkgvers}
123123
wget https://github.com/numpy/${pkgname}/releases/download/v${pkgvers}/${pkgcode}.tar.gz
124124
tar -xf ${pkgcode}.tar.gz
125125
rm -f ${pkgcode}.tar.gz
126126
cd ${pkgcode}
127-
python setup.py build -j 16
127+
python setup.py build -j 2
128128
cp build/src*/numpy/core/include/numpy/*.h numpy/core/include/numpy/
129129
cd ..
130130
cp -R ${pkgcode}/numpy/core/include ${{env.PKGDIR}}/extern

0 commit comments

Comments
 (0)