From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E728413877A for ; Mon, 11 Aug 2014 22:43:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9464FE09D0; Mon, 11 Aug 2014 22:43:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3C2E3E09D0 for ; Mon, 11 Aug 2014 22:43:21 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 213C333FE13 for ; Mon, 11 Aug 2014 22:43:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id E4C2118815 for ; Mon, 11 Aug 2014 22:43:18 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1407797111.7a409c03109130434ba21874038fc3242f2dc0f9.blueness@gentoo> Subject: [gentoo-commits] proj/releng:master commit in: tools-musl/ X-VCS-Repository: proj/releng X-VCS-Files: tools-musl/run.sh X-VCS-Directories: tools-musl/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 7a409c03109130434ba21874038fc3242f2dc0f9 X-VCS-Branch: master Date: Mon, 11 Aug 2014 22:43:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d9ee65a7-2848-4cf6-8a43-ee01d005dc6c X-Archives-Hash: a6a722282f4c6115681f0404596d4765 commit: 7a409c03109130434ba21874038fc3242f2dc0f9 Author: Anthony G. Basile gentoo org> AuthorDate: Mon Aug 11 22:45:11 2014 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Mon Aug 11 22:45:11 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/releng.git;a=commit;h=7a409c03 tools-musl/run.sh: parallelize musl run --- tools-musl/run.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tools-musl/run.sh b/tools-musl/run.sh index 84609aa..7f82a8e 100755 --- a/tools-musl/run.sh +++ b/tools-musl/run.sh @@ -43,19 +43,19 @@ main() { catalyst -s current | tee -a zzz.log >snapshot.log 2>snapshot.err for arch in amd64 i686; do - for flavor in vanilla hardened; do + for flavor in hardened vanilla; do prepare_confs ${arch} ${flavor} done done - + + # The parallelization `( do_stages ... ) &` doesn't work here + # if catalyst is using snapcache, bug #519656 for arch in amd64 i686; do - for flavor in vanilla hardened; do - do_stages ${arch} ${flavor} - ret=$? - if [[ $? == 1 ]]; then - echo "FAILURE at ${arch} ${flavor} " | tee zzz.log - return 1 - fi + for flavor in hardened vanilla; do + ( + do_stages ${arch} ${flavor} + [[ $? == 1 ]] && echo "FAILURE at ${arch} ${flavor} " | tee zzz.log + ) & done done }