From ea7634bf04bf07ca7d23ec2f00cda5ce32224396 Mon Sep 17 00:00:00 2001 From: hybridOL Date: Tue, 6 Oct 2015 18:08:54 +0200 Subject: Switch to target linux-clang-libc++ to avoid problems in stdlib from g++. --- tools/unix/build_omim.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/unix/build_omim.sh b/tools/unix/build_omim.sh index cc6e40d5a0..ba3db79cb9 100755 --- a/tools/unix/build_omim.sh +++ b/tools/unix/build_omim.sh @@ -66,7 +66,7 @@ if [ "$(uname -s)" == "Darwin" ]; then SPEC=macx-clang PROCESSES=4 else - SPEC=linux-clang + SPEC=linux-clang-libc++ PROCESSES=$(($(nproc) / 2)) fi -- cgit v1.2.3 From e8d4c16524c0a1d12f4366822f0ede47f50a32d6 Mon Sep 17 00:00:00 2001 From: hybridOL Date: Tue, 6 Oct 2015 18:09:10 +0200 Subject: PROCESSES could be 0 in case of only one processor. Just take number of processes as number of jobs. --- tools/unix/build_omim.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.3