From nobody Fri Dec 19 20:13:15 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.221.49 as permitted sender) client-ip=209.85.221.49; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-f49.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.49 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1621449973; cv=none; d=zohomail.com; s=zohoarc; b=OzSz8EBxMeiCjwCoaxkYMMAAQy62T1s3LQOtA9x5HQHTn2IJ758WGFh8A0zSH/oPo6LpkcKou2+bMKyKcvkJqHPlzCurCPIR3MGa5n71wz9rVWmxnpmBzlHEeYtzm4p4+bKj7vAMfEJJ/dPChl9X5lRREm8Z9dttE/K1z+4iEFA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1621449973; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=2IUveWwI0J+7Ncapudv20RtB39QJD/A5pUhEcIazkKo=; b=DHdvs8Qpd9enLbh7U/tKvRZJDkGxpBi7F6phIXNRQ35mPUByC2BxrunuVJoQ8CFBaFFsguUB3yBcr69bfZUra35jYxcDDu1EuN04OUKKxBMexPotc86sDV6IWF8coLVhRWbHJm7lmpInrFW6aF+FL7GKF4sqpnm/BvDZo66AbYs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.49 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by mx.zohomail.com with SMTPS id 1621449973057904.384134362435; Wed, 19 May 2021 11:46:13 -0700 (PDT) Received: by mail-wr1-f49.google.com with SMTP id a4so15116880wrr.2 for ; Wed, 19 May 2021 11:46:12 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.redhat.com (31.red-83-51-215.dynamicip.rima-tde.net. [83.51.215.31]) by smtp.gmail.com with ESMTPSA id x2sm2553247wmc.21.2021.05.19.11.46.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 May 2021 11:46:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2IUveWwI0J+7Ncapudv20RtB39QJD/A5pUhEcIazkKo=; b=Iha3kwznX10Vc2kZfXhF4IUMmUUULi6iUKyIc2jGnFDz3PkqySZhZdKeDBfLEuG9+u OqWTiSo/9pFqsHy/LvLYXsnH7VMxRpA+i0YA6Z1GHTE6CwOnoFzkhlYFBp1UhRKM81Mw AjECJVB6BwXCyFjlIY9Nz0XVWt9Yxyxq8SJpHuRYY2ZzeRJ9GCzNXBmd7T3qLq39aiGk ZsiOjKbag0jxFQHJT4ecUO2w+qtKumJ0jk/It3MxehrwOJ69xwi0W630x1BRsWTnfbCU TuVvL19IMSx5kUhEATN1IsXpAEergvLXr7Uu2Rr8WFPwAHjky4+qNqV85iGJf+kfn12N O/AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=2IUveWwI0J+7Ncapudv20RtB39QJD/A5pUhEcIazkKo=; b=OkJ63tFCa28Qbc5wy3lQV1JpkV33U32LfFA8ddSeQydoV15vWzTafqs2YKXNJ0MVnN unQ22O8tTtDkTfRZO+u3CAvW5jO197x8qp+90iMfBzw/+qHEzFqhmYy/ef7mZno93Pkn 4A2heeXH0joBMc5LXYxhU4VEA4pFMjQeGwJ4YfUmjtKbBPMkKUO1tpopCr/x/ZLNuh5j EKhrAjXFEaUGZxMr5VNribYhA3njqLA1KLb4jsoqSxrllm2WM//tbhy6BZEBJ2wyi50L eT8foZRXYaOXJzl5sOXm+CwMkjEHnpQA+zS2EbNnUJf0P8bgdNeWmWtYEUVo58N9oekm +Y+g== X-Gm-Message-State: AOAM531X8DgtxL8Yj/S/K98BqUzpR42NKbsdYDcn2841eCpP/7CZfWTF sf4uOSFHfCE0DZkZYLBYvOs= X-Google-Smtp-Source: ABdhPJz6qo42P1rSeb0ij8vialaqMI3Lr87/6qVJzJQ6zp0AffaydltfhKYhYGf65P7pzR/MbFoNww== X-Received: by 2002:a05:6000:1b8a:: with SMTP id r10mr355872wru.296.1621449971326; Wed, 19 May 2021 11:46:11 -0700 (PDT) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Thomas Huth , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Willian Rampazzo , Wainer dos Santos Moschetta , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Warner Losh , Kyle Evans Subject: [PATCH v3 4/6] gitlab-ci: Add ccache in $PATH and display statistics Date: Wed, 19 May 2021 20:45:47 +0200 Message-Id: <20210519184549.2192728-5-f4bug@amsat.org> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210519184549.2192728-1-f4bug@amsat.org> References: <20210519184549.2192728-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) If a runner has ccache installed, use it and display statistics at the end of the build. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Willian Rampazzo --- .gitlab-ci.d/buildtest-template.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitlab-ci.d/buildtest-template.yml b/.gitlab-ci.d/buildtest-t= emplate.yml index f284d7a0eec..a625c697d3b 100644 --- a/.gitlab-ci.d/buildtest-template.yml +++ b/.gitlab-ci.d/buildtest-template.yml @@ -6,13 +6,18 @@ then JOBS=3D$(sysctl -n hw.ncpu) MAKE=3Dgmake + PATH=3D/usr/local/libexec/ccache:$PATH ; else JOBS=3D$(expr $(nproc) + 1) MAKE=3Dmake + PATH=3D/usr/lib/ccache:/usr/lib64/ccache:$PATH ; fi - echo "=3D=3D=3D Using $JOBS simultaneous jobs =3D=3D=3D" + - if command -v ccache > /dev/null ; then ccache --zero-stats ; fi + after_script: + - if command -v ccache > /dev/null ; then ccache --show-stats ; fi =20 .native_build_job_template: stage: build --=20 2.26.3