diff options
author | hybridOL <githubmail@stehno.de> | 2015-10-06 19:09:10 +0300 |
---|---|---|
committer | hybridOL <githubmail@stehno.de> | 2015-10-06 19:09:10 +0300 |
commit | e8d4c16524c0a1d12f4366822f0ede47f50a32d6 (patch) | |
tree | 05b4dd3c3171841c5434278519492f873d66bdbc | |
parent | ea7634bf04bf07ca7d23ec2f00cda5ce32224396 (diff) |
PROCESSES could be 0 in case of only one processor. Just take number of processes as number of jobs.
-rwxr-xr-x | tools/unix/build_omim.sh | 2 |
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() |