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 20B7E13877A for ; Tue, 19 Aug 2014 01:36:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B615DE09B0; Tue, 19 Aug 2014 01:36:50 +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 45DD3E09B0 for ; Tue, 19 Aug 2014 01:36:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4980233F48B for ; Tue, 19 Aug 2014 01:36:49 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C41B038D1 for ; Mon, 18 Aug 2014 21:59:39 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1407797111.7a409c03109130434ba21874038fc3242f2dc0f9.robbat2@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: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 7a409c03109130434ba21874038fc3242f2dc0f9 X-VCS-Branch: master Date: Mon, 18 Aug 2014 21:59:39 +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: 5d475e54-9c5b-4f8d-9606-5593ff303ba5 X-Archives-Hash: be21091c322f8194a1222fd3a9b67f38 commit: 7a409c03109130434ba21874038fc3242f2dc0f9 Author: Anthony G. Basile gentoo org> AuthorDate: Mon Aug 11 22:45:11 2014 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Mon Aug 11 22:45:11 2014 +0000 URL: http://sources.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 }