Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhybridOL <githubmail@stehno.de>2015-10-06 19:09:10 +0300
committerhybridOL <githubmail@stehno.de>2015-10-06 19:09:10 +0300
commite8d4c16524c0a1d12f4366822f0ede47f50a32d6 (patch)
tree05b4dd3c3171841c5434278519492f873d66bdbc
parentea7634bf04bf07ca7d23ec2f00cda5ce32224396 (diff)
PROCESSES could be 0 in case of only one processor. Just take number of processes as number of jobs.
-rwxr-xr-xtools/unix/build_omim.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/unix/build_omim.sh b/tools/unix/build_omim.sh
index ba3db79cb9..5886329ead 100755
--- a/tools/unix/build_omim.sh
+++ b/tools/unix/build_omim.sh
@@ -67,7 +67,7 @@ if [ "$(uname -s)" == "Darwin" ]; then
PROCESSES=4
else
SPEC=linux-clang-libc++
- PROCESSES=$(($(nproc) / 2))
+ PROCESSES=$(nproc)
fi
build_conf()