@@ -44,12 +44,12 @@ jobs:
4444 /opt/python/cp311-cp311/bin/python -m pip install twine wheel numpy
4545 /opt/python/cp311-cp311/bin/python setup.py sdist
4646 /opt/python/cp311-cp311/bin/python -m twine upload --repository testpypi dist/*.tar.gz
47- USE_MIMALLOC=1 Py_LIMITED_API=1 /opt/python/cp311-cp311/bin/python setup.py build bdist_wheel
47+ NUM_AVAILABLE_CPU_CORES=2 USE_MIMALLOC=1 Py_LIMITED_API=1 /opt/python/cp311-cp311/bin/python setup.py build bdist_wheel
4848 auditwheel repair dist/*-linux_x86_64.whl
4949 for cp in cp314-cp314t
5050 do
5151 /opt/python/${cp}/bin/python -m pip install wheel setuptools numpy==`/opt/python/${cp}/bin/python .github/workflows/numpy_version.py`
52- USE_MIMALLOC=1 /opt/python/${cp}/bin/python setup.py build bdist_wheel
52+ NUM_AVAILABLE_CPU_CORES=2 USE_MIMALLOC=1 /opt/python/${cp}/bin/python setup.py build bdist_wheel
5353 auditwheel repair dist/*-${cp}-linux_x86_64.whl
5454 done
5555 /opt/python/cp311-cp311/bin/python -m twine upload --repository testpypi wheelhouse/*.whl
@@ -239,12 +239,12 @@ jobs:
239239 rm /usr/local/bin/cmake || true
240240 ln -s /opt/python/cp311-cp311/bin/cmake /usr/local/bin/cmake
241241 /opt/python/cp311-cp311/bin/pip install -U wheel setuptools numpy twine
242- USE_MIMALLOC=1 Py_LIMITED_API=1 /opt/python/cp311-cp311/bin/python setup.py build bdist_wheel
242+ NUM_AVAILABLE_CPU_CORES=2 USE_MIMALLOC=1 Py_LIMITED_API=1 /opt/python/cp311-cp311/bin/python setup.py build bdist_wheel
243243 auditwheel repair dist/*.whl
244244 for cp in cp314-cp314t
245245 do
246246 /opt/python/${cp}/bin/pip install -U wheel setuptools numpy==`/opt/python/${cp}/bin/python .github/workflows/numpy_version.py`
247- USE_MIMALLOC=1 /opt/python/${cp}/bin/python setup.py build bdist_wheel
247+ NUM_AVAILABLE_CPU_CORES=2 USE_MIMALLOC=1 /opt/python/${cp}/bin/python setup.py build bdist_wheel
248248 auditwheel repair dist/*-${cp}-*.whl
249249 done
250250 /opt/python/cp311-cp311/bin/twine upload --repository testpypi wheelhouse/*.whl
0 commit comments