File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ adjust_build_environment() {
191191 ' import sys; print "%s.%s" % sys.version_info[:2]' )
192192 PYTHONDIR=$LIBDIR /python${PYTHON_VERSION} /site-packages
193193 : ${NCPU:= $(${PYTHON} -c \
194- ' from multiprocessing import cpu_count; print max (4, cpu_count())' )}
194+ ' from multiprocessing import cpu_count; print min (4, cpu_count())' )}
195195 cpath=( $BASEDIR /include $cpath )
196196 library_path=( ${BASEDIR} /lib $library_path )
197197 ld_library_path=( ${BASEDIR} /lib $ld_library_path )
Original file line number Diff line number Diff line change 133133: ${PYTHON:= =python}
134134: ${SCONS:= =scons}
135135: ${NCPU:= $(${PYTHON} -c \
136- ' from multiprocessing import cpu_count; print max (4, cpu_count())' )}
136+ ' from multiprocessing import cpu_count; print min (4, cpu_count())' )}
137137if [[ -z $TAR ]]; then
138138 TAR=tar
139139 if [[ $OSTYPE == darwin* ]]; then
You can’t perform that action at this time.
0 commit comments