From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7278939938131804160 X-Received: by 2002:a05:6000:1148:b0:31f:dcdd:71f with SMTP id d8-20020a056000114800b0031fdcdd071fmr8654243wrx.70.1695124606630; Tue, 19 Sep 2023 04:56:46 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a5d:5a09:0:b0:31f:ebf1:ed8 with SMTP id bq9-20020a5d5a09000000b0031febf10ed8ls455497wrb.2.-pod-prod-07-eu; Tue, 19 Sep 2023 04:56:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGwmhZR/aPMfQRUazqP/Qvzk+Kl1hXU6nJlr+wg7ol+PJW9JLiQLmkNiPiB7PNkVhO0CJTm X-Received: by 2002:adf:dcc1:0:b0:317:5168:c21f with SMTP id x1-20020adfdcc1000000b003175168c21fmr8979818wrm.31.1695124604877; Tue, 19 Sep 2023 04:56:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695124604; cv=none; d=google.com; s=arc-20160816; b=fxQwaf1TAbjrH3D4OKLjIfAnpFe+r5aKx30JbV8eAg85KE8JyTnNa7+SPN+wMJsqgu Zgb0IA82+Xh057cPRHL99xLnTpvx+GbG0bTPUv68COG8wW0kyMbqEcerYn3du8SISQJN MBBYn3Iq9sTyRz5rZtvf66q9Mo4YW/XTanMPEVka1Y6LdqklHkFw4i8dyr0aRHNiF9HO pkXqc/9uwQ3ZgkTCX/fUWmZHS7G0CJ2LcgOfgidFMXqIz53N8KizS9UAPvuCHiEWGufk swT/Jab2Yxnn6gGgbqcLtTn9Iigsol6KKBsYVbJWAbazhcB3iJkvDHoxv/4Aq+ZS1TIR JUFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from; bh=ni1R+YnQo0HhQWVik3nJlAegyElssaJiKMRkSm4YU44=; fh=7tclEdh7YbwSQowgJ6LNq720O7H5HTEaqj22NJWRE2E=; b=AvovFncu4FxIc555qOJ8huKEKGpemyg52HLxmoL6zM2a4JGdTGvlJC/Z/UKJBotiaN 2ViJdXxf8QTD/3Yy40aobgTuk2IurWntKXR+Y1lHwCNwq282P7YlJDz3u1w18Fm2X3ci cqnMcwSbxXoZpVhVHmbstjwt6kXGBWXflcsI1SHFsDpsr48XXTU7aUR56N8Hz8LqtOKA RHW+hES1YtSpQwfhlyPE7KBwRJp/aTsJ2ucG3lS0g7mB+gRoAEWy6dscmvHMhSUtW19I o+d0N1zY1npbdp6gYjsksT17RTBseTkkinSCvohRHsyzbuI+xq+9Ns39Cn7fHW+bhH7J Lf8A== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id e12-20020adfa44c000000b0031acfc2c473si1498666wra.3.2023.09.19.04.56.44 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Sep 2023 04:56:44 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from baighyz.m.ilbers.de (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 38JBueGC015357 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 19 Sep 2023 13:56:44 +0200 From: Uladzimir Bely To: isar-users@googlegroups.com Subject: [PATCH v2 07/12] kas: Add ccache option Date: Tue, 19 Sep 2023 13:56:35 +0200 Message-Id: <20230919115640.18398-8-ubely@ilbers.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20230919115640.18398-1-ubely@ilbers.de> References: <20230919115640.18398-1-ubely@ilbers.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: 9SMK7fBnHlV+ This adds an option to the menu that allows to enable or disable ccache support for the build. The option is enabled by default. Signed-off-by: Uladzimir Bely ccache --- kas/opt/Kconfig | 10 ++++++++++ kas/opt/ccache.yaml | 6 ++++++ 2 files changed, 16 insertions(+) create mode 100644 kas/opt/ccache.yaml diff --git a/kas/opt/Kconfig b/kas/opt/Kconfig index 47cff1c4..1909a915 100644 --- a/kas/opt/Kconfig +++ b/kas/opt/Kconfig @@ -53,3 +53,13 @@ config KAS_INCLUDE_ISAR_CROSS_COMPILE string default "kas/opt/crosscompile.yaml" depends on ISAR_CROSS_COMPILE + + +config USE_CCACHE + bool "Use ccache during build" + default y + +config KAS_INCLUDE_USE_CCACHE + string + default "kas/opt/ccache.yaml" + depends on USE_CCACHE diff --git a/kas/opt/ccache.yaml b/kas/opt/ccache.yaml new file mode 100644 index 00000000..7443dd8b --- /dev/null +++ b/kas/opt/ccache.yaml @@ -0,0 +1,6 @@ +header: + version: 14 + +local_conf_header: + ccache: | + USE_CCACHE = "1" -- 2.20.1