From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7278939938131804160 X-Received: by 2002:ac2:58e3:0:b0:4ff:b830:4b6b with SMTP id v3-20020ac258e3000000b004ffb8304b6bmr1452069lfo.14.1695192869967; Tue, 19 Sep 2023 23:54:29 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:5f57:0:b0:500:83e8:9d2c with SMTP id a23-20020a195f57000000b0050083e89d2cls3922lfj.1.-pod-prod-04-eu; Tue, 19 Sep 2023 23:54:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFn0Ttis9J1ahasfjlrekIkp2Ms3b+BXv+etsFetiLAsKRS5k7WslE8O2CuRiubO5ulwJab X-Received: by 2002:a19:e006:0:b0:500:a08e:2fcf with SMTP id x6-20020a19e006000000b00500a08e2fcfmr1076594lfg.47.1695192868013; Tue, 19 Sep 2023 23:54:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695192868; cv=none; d=google.com; s=arc-20160816; b=uVoZK/EdFWm12BMosaD633q7mijyYK+++01olmqEqgNpQ+1uWcMHHvNcCVXr8FfCEF RsyC65q9W4QcQe6BdNMNvO80p5ITmDYf7jsbB+cv+mtZublcaDgr/wgUj8+0aYIE5yh2 hRV0XHdFrwOmbhYlV6QBGu4VyyOgThb2t5MsRINNpDrReogSyUliYHUGCAYjQocqu6JZ vz6za8ozqe2wAnl0KPPg3KeE4FzXQo1kkwmHiqbgjvSbmg0lgDJ9TlbLETX67jvhy9J+ 4GTAcvKJRI1MKHnUsFJDyjYbZOQRfKT9hIOUHkfFJeAE+C7PgiBljBk2pTgokZfTFydx r+6w== 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=DlHFau1lyET6UZAApG2KnaecEte8aML7ieJevyC7ViBrSUbDDzqOYM7KL7cMmPVtAH F+NkeSyE1zF0y9uzdhOF/XGfgKpYIhyI2BJkO0Ewgsk1HOwh6KpgvIBFyqP/0wKdQriH 5v/n5ELBtBsjf4oEYrS8EnOecuaUIZiThV4jYyQIioP1p2gQznZqr5K6mWvTInTu6Azc DK+jdepn76bURoCtg2ma7liVRUF5pLa6bPi4XXQGHkPyz1Eu5OuyGBryps2XFnQgTADq zzQDdiUd2nDB+Tha8sPXBBNLVSo/7aroqHxGJGBdQEVp4i+LetMum93MSuFL5AvfMR+7 vSvw== 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 c19-20020a056512075300b004fe3e3471c8si1058566lfs.10.2023.09.19.23.54.27 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Sep 2023 23:54:27 -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 38K6sL1E019812 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 20 Sep 2023 08:54:27 +0200 From: Uladzimir Bely To: isar-users@googlegroups.com Subject: [PATCH v3 07/12] kas: Add ccache option Date: Wed, 20 Sep 2023 08:54:15 +0200 Message-Id: <20230920065420.11399-8-ubely@ilbers.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20230920065420.11399-1-ubely@ilbers.de> References: <20230920065420.11399-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: 4Pc0eip1pLTI 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