From patchwork Sun Sep 18 22:48:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 671505 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3sckjy2R2Fz9sdn for ; Mon, 19 Sep 2016 08:49:58 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b=iDfzVj4W; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0447BA75B9; Mon, 19 Sep 2016 00:49:38 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PYObgolNPyU2; Mon, 19 Sep 2016 00:49:37 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C9160A75C2; Mon, 19 Sep 2016 00:49:11 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 11907A7548 for ; Mon, 19 Sep 2016 00:48:58 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mfYt2X5M8N7j for ; Mon, 19 Sep 2016 00:48:58 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-io0-f171.google.com (mail-io0-f171.google.com [209.85.223.171]) by theia.denx.de (Postfix) with ESMTPS id 2EA0D4BDBD for ; Mon, 19 Sep 2016 00:48:54 +0200 (CEST) Received: by mail-io0-f171.google.com with SMTP id m79so76426464ioo.3 for ; Sun, 18 Sep 2016 15:48:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=bhm2P1d1a0XZKn30oNBmqFEV2lKju4ZsAZbhNZnXSTU=; b=iDfzVj4WZWq6U0BLA8Toc+sd33dvfFa2+AODPrTaP/TD3+M/8KdjHsFGrAZPv3AgGS ZSbw1/cxNgRytV/pNQDRqw4bnOJpSdUdqqLyM7OkzeOOe/PbrctVcw+gJ3oyz5AiE+uT t9oLvcc/gJwj4f6qR69+56pPilK6RclWgwW8rfKyfXmfJzC65i+QOjeZeTNHztzX4Tuo vWkUeVsaLO4vc51VPiArThcy2O8nw3XigH5UOuUkFguQiPb8wlJHUu3KZlflP3tUw+ql m2XocjeKmTcpDNGCHODn90GggQrMAXjh9adNXRCUuQx9KUz3i37pkjZTiiRAv3MX2SAR DkYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=bhm2P1d1a0XZKn30oNBmqFEV2lKju4ZsAZbhNZnXSTU=; b=PeUw9grA3XpCcZOkaiLMVYozZVTM5fKxPTqnGHLNvk4SqtW9TYUA1dED0V+EkBAIWE +SSlynQwl1FwD6kM+/bPdfPKYabN/Vkzav6BA8tXs7AKtBRvA65N4+WxBH5xO0CnC37c ec89UMN7d2miRufKq5K08YSvpqfur+pq1QOqUuL2HvzYYMl5v3vpHg0y8laSgaE9kjug 8ZuW+bPw9Wb3nFetil4NppGwNXdAHfROGxkfcEr/b8FFs0BhmD9XPXt0w11bjuXjpLE0 gpUlnwvGoBTx+aMOaNnRPEYFSoiLetzEGnkXm+h63iBF6DI8ZFJoXQiV9+/YqU+Ez6st lqhw== X-Gm-Message-State: AE9vXwNp9lf2rbKSDemmZj3JOyGLX8XRhxQxAGD72as11ms6Ytlk8ZTAwfXKCAcy7shCn5V7 X-Received: by 10.107.14.72 with SMTP id 69mr32772793ioo.125.1474238933197; Sun, 18 Sep 2016 15:48:53 -0700 (PDT) Received: from kaki.bld.corp.google.com ([100.100.202.55]) by smtp.gmail.com with ESMTPSA id r124sm7173468itc.19.2016.09.18.15.48.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Sep 2016 15:48:52 -0700 (PDT) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id B92E9221C6F; Sun, 18 Sep 2016 16:48:50 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Sun, 18 Sep 2016 16:48:31 -0600 Message-Id: <1474238918-1797-7-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 In-Reply-To: <1474238918-1797-1-git-send-email-sjg@chromium.org> References: <1474238918-1797-1-git-send-email-sjg@chromium.org> Cc: Stephen Warren , Tom Warren Subject: [U-Boot] [PATCH 06/13] buildman: Tidy up the 'cloning' message X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" On a machine with a lot of CPUs this prints a lot of useless lines of the form: Cloning repo for thread Adjust the output so that these all appear on one line, and disappear when the cloning is complete. Note: This cloning is actually unnecessary and very wasteful on disk space (about 3.5GB each time). It would be better to create symlinks. Signed-off-by: Simon Glass --- tools/buildman/builder.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/buildman/builder.py b/tools/buildman/builder.py index 2aca189..7c237a5 100644 --- a/tools/buildman/builder.py +++ b/tools/buildman/builder.py @@ -1379,8 +1379,10 @@ class Builder: if os.path.exists(git_dir): gitutil.Fetch(git_dir, thread_dir) else: - Print('Cloning repo for thread %d' % thread_num) + Print('\rCloning repo for thread %d' % thread_num, + newline=False) gitutil.Clone(src_dir, thread_dir) + Print('\r%s\r' % (' ' * 30), newline=False) def _PrepareWorkingSpace(self, max_threads, setup_git): """Prepare the working directory for use.