Skip to content

Commit 0edcb61

Browse files
committed
unix: use $NUM_CPUS
1 parent dbea5d7 commit 0edcb61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpython-unix/build-cpython.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ CFLAGS=$CFLAGS CPPFLAGS=$CFLAGS LDFLAGS=$LDFLAGS \
137137
# Supplement produced Makefile with our modifications.
138138
cat ../Makefile.extra >> Makefile
139139

140-
make -j `nproc`
141-
make -j `nproc` install DESTDIR=${ROOT}/out/python
140+
make -j ${NUM_CPUS}
141+
make -j ${NUM_CPUS} install DESTDIR=${ROOT}/out/python
142142

143143
# Install pip so we can patch it to work with non-dynamic executables
144144
# and work around https://github.com/pypa/pip/issues/6543. But pip's bundled

0 commit comments

Comments
 (0)