From patchwork Tue Sep 10 12:37:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 826992 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp281096wrc; Tue, 10 Sep 2024 05:39:45 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUnQ4L3si8ImanF8GTwroxRAVOej5UL0NcQTWC3aQYRlGhdfuWvpm6ssKRjxBPS1uIipPzaLQ==@linaro.org X-Google-Smtp-Source: AGHT+IHapOHucvrxBBoOKPvloqSmIy1Q9jD082IyAi6X+LenHScfgQ2zhoG6Ft5PYjwmhMOKuAyv X-Received: by 2002:a05:620a:1a20:b0:7a9:bc34:aa00 with SMTP id af79cd13be357-7a9bc34c319mr900148685a.7.1725971985303; Tue, 10 Sep 2024 05:39:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725971985; cv=none; d=google.com; s=arc-20240605; b=k2CnqAPCXZNXCZzDK+n5i9gonAjgK1FH/mlT+cvvok29IrdPzul7YXJKGf5AD0BfAX LDjju5usBOJ2U10bQzcq6v06LkNyU1XNU1b5+hzeGYTZue/1MQdkldiqTwO7rzz+NdS9 OINiC44aHEjlbY0TRAbvfd1bsilq4E0v2Mlyaoyo6l4jstQTiPDfFYyD1TugINqNqIII cfjEue9PUMDwM3//14rW3IYcmNmCRWsg/6+h9C2U8fsHyeOFDcmFBvAfEh9CEx1sTVQa R0Xk5jihXW+9ftnsmPyDu/6udC2oGTQrI3pEPRVl7PwLa2OVxHksz0IDm1Gh3Htls93w q7eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=8Brn6cLGnhTP1KmrwwsRzuR+4YftSsDFHM3QZUWTvPE=; fh=tOREyZHlK9Diwyw/7bj5IUyLT4I5EVkj5DE8XDtMiTs=; b=Lk4Wi6Wa6vG/KeWf5pLyhThboewPug7Yi2oBqqs9lHpTssrdgZADVnTVsdWuPVDEWD m7QmzvmZldGto+1SyabestuT4zm70yNfnFESFjzvWqoRaD3Yz4xuorEohJAul+O2NkCB 61gqZoxxYdL7zSEdsBjrN1VoC+zIBPrCEwDZpD5Gh7ZOGptQFZs/hiYRkZ4m4HGE9dBu FJTRxUIXoKHUhBKzpC+Ku93XxXPWwLCrA6mU6jDnBLvOr1gmxivYLZfftGa/80ZXviYR e+1J/vkcV9BN+hp9cDlq9/ZhHcd0OJ5y0dwg1EXB/VkejOd3xCKg4nkQDBqOJtO4DdQI tbeg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gO1sVM87; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7a9a7a7b2ebsi787954885a.698.2024.09.10.05.39.45 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 05:39:45 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gO1sVM87; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1so081-000182-Ae; Tue, 10 Sep 2024 08:37:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1so07r-0008L6-AA for qemu-devel@nongnu.org; Tue, 10 Sep 2024 08:37:43 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1so07p-00058F-Ng for qemu-devel@nongnu.org; Tue, 10 Sep 2024 08:37:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1725971861; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8Brn6cLGnhTP1KmrwwsRzuR+4YftSsDFHM3QZUWTvPE=; b=gO1sVM87XWXgGimkUNmelEKcOLGxNv72pT6mEifU/0CC266pAuL2c5n4qQL5iJ9w9WXguj S0GTvUiTOtDmFb2FOoFmo5AXVVn5iHklmnMXjc0B3A0Q4FKiiyxpEGieP9fgdRy+tIYo9+ Efw4VSVI1KEQYpHYt7GKQsGprTThC40= Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-427-wG5j9D-ZMniL_lZeiOz8VQ-1; Tue, 10 Sep 2024 08:37:37 -0400 X-MC-Unique: wG5j9D-ZMniL_lZeiOz8VQ-1 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 7ED4A1954B35; Tue, 10 Sep 2024 12:37:36 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.39.193.120]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id E9D0919560AB; Tue, 10 Sep 2024 12:37:34 +0000 (UTC) From: Thomas Huth To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PULL 03/22] gitlab-ci: Build MSYS2 job using multiple CPUs Date: Tue, 10 Sep 2024 14:37:04 +0200 Message-ID: <20240910123726.182975-4-thuth@redhat.com> In-Reply-To: <20240910123726.182975-1-thuth@redhat.com> References: <20240910123726.182975-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 Received-SPF: pass client-ip=170.10.129.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.145, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Message-ID: <20240819112141.13786-1-philmd@linaro.org> Signed-off-by: Thomas Huth --- .gitlab-ci.d/windows.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.d/windows.yml b/.gitlab-ci.d/windows.yml index 759e9a76b5..45ed0c96fe 100644 --- a/.gitlab-ci.d/windows.yml +++ b/.gitlab-ci.d/windows.yml @@ -88,6 +88,7 @@ msys2-64bit: mingw-w64-x86_64-python mingw-w64-x86_64-zstd" - Write-Output "Running build at $(Get-Date -Format u)" + - $env:JOBS = $(.\msys64\usr\bin\bash -lc nproc) - $env:CHERE_INVOKING = 'yes' # Preserve the current working directory - $env:MSYS = 'winsymlinks:native' # Enable native Windows symlink - $env:CCACHE_BASEDIR = "$env:CI_PROJECT_DIR" @@ -99,7 +100,7 @@ msys2-64bit: - cd build - ..\msys64\usr\bin\bash -lc "ccache --zero-stats" - ..\msys64\usr\bin\bash -lc "../configure $CONFIGURE_ARGS" - - ..\msys64\usr\bin\bash -lc "make" + - ..\msys64\usr\bin\bash -lc "make -j$env:JOBS" - ..\msys64\usr\bin\bash -lc "make check MTESTARGS='$TEST_ARGS' || { cat meson-logs/testlog.txt; exit 1; } ;" - ..\msys64\usr\bin\bash -lc "ccache --show-stats" - Write-Output "Finished build at $(Get-Date -Format u)"