Permalink
Browse files

Build fix for single processor machines.

  • Loading branch information...
Andy Chu
Andy Chu committed Sep 8, 2017
1 parent e0ff74f commit 4b828dcf2ed768c423d5c4a0a0efb3d386628190
Showing with 2 additions and 1 deletion.
  1. +2 −1 build/prepare.sh
View
@@ -33,7 +33,8 @@ configure() {
# -O2, 30 s with -O0. The Make part of the build is parallelized, but the
# setup.py part is not!
readonly JOBS=$(( $(nproc) - 1 ))
readonly NPROC=$(nproc)
readonly JOBS=$(( NPROC == 1 ? NPROC : NPROC-1 ))
build-python() {
cd $PREPARE_DIR

0 comments on commit 4b828dc

Please sign in to comment.