Skip to content

Commit 324902a

Browse files
committed
Parallel numpy build and latest submodules
1 parent dfa018b commit 324902a

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

install_modules.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
77
# Start the cross-env
88
source cross_venv/bin/activate
99

10-
# Numpy
10+
# Numpy (parallel build https://numpy.org/devdocs/user/building.html)
11+
export NPY_NUM_BUILD_JOBS=$(nproc --ignore 1)
12+
echo "Numpy using ${NPY_NUM_BUILD_JOBS} cores"
1113
pushd ${THIS_DIR}/third-party/numpy >> /dev/null
1214
pip install .
1315
popd >> /dev/null

third-party/cpython

third-party/numpy

Submodule numpy updated from c272c04 to 97825be

0 commit comments

Comments
 (0)