From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7278939938131804160 X-Received: by 2002:a05:600c:210c:b0:401:b1c6:97e8 with SMTP id u12-20020a05600c210c00b00401b1c697e8mr800272wml.36.1694760272225; Thu, 14 Sep 2023 23:44:32 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:600c:4f89:b0:3fe:eb53:1153 with SMTP id n9-20020a05600c4f8900b003feeb531153ls866174wmq.1.-pod-prod-07-eu; Thu, 14 Sep 2023 23:44:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHEq49l7hpvCM+BnkSMrU23xy1R5GG4LlN/TU+P66DBXYdvMB7RST0GQaKXc3DfDk+Mye24 X-Received: by 2002:a7b:c40b:0:b0:401:be70:53b6 with SMTP id k11-20020a7bc40b000000b00401be7053b6mr756904wmi.15.1694760270259; Thu, 14 Sep 2023 23:44:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694760270; cv=none; d=google.com; s=arc-20160816; b=rx4rIsYMt0xAVtR8ZyipJ3+VGaUrfVZm7xDfp/iX2C+UK/DP8ZYPVO1Y+kbKFubO5u JzkjTh+YoQffsIW8TVD9fHktC3vsrfxw4yPx+goxHtVYph3fuMKsyR2W/2bmoBcOOQP9 J0RVAAqX2wXGdbNTeMlwBF8RpOkI/0mttUsjsR82jLGWlyrlaW1RPLRc/t03Ajx3HJKX mvJX65ZrbWmIQv/2UI1n75Lqw5GvTaSI6yL/PXhakdrfwg+AXiCa7CRh4Dhu58PcsZma QwSPuYrs981Z0U5nhEWHqujElCdQ+o4oiQ6tsLAk0RYZQIkVmEXiP6CBnyPw1hzyV38B JNwQ== 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=1d9nMcgakr2mYEX3mnmHRWFEwh6w12nvXLKP45dq4xg=; fh=7tclEdh7YbwSQowgJ6LNq720O7H5HTEaqj22NJWRE2E=; b=mrQ0SOVPfjga10Qm2JV9plJXpCQ1R8m3pvujmtoX6GE9K/nOOEtPU1hBLZlEAoPIrU D1hlaPthprRZirpMJfvFzZMuHwTrqrGJCYTbr6Xrf9WgWgz+i34kjXv6yRgz078lqhkS sIBLpmGFHR0OoJFNhFbvgaPv73rcow10TbML4Mk1TFiCpDbNoKuonTLmK5gQDblVxOgT 5fxUyCUnDMxwH4wdQjgPsrIffOlBwBh4KEIgPzgpFW94egfqk4Sv6ioYAuvlEnHRQkex x87dPCYM/Q4wzfIViF7NDQFHXGQZIPaWmd9eyAt8efVPMhSo185FqfIACduYicCe75aC 52GA== 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 n40-20020a05600c502800b0040476a42269si193203wmr.2.2023.09.14.23.44.30 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Sep 2023 23:44:30 -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 38F6iQJT022764 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 15 Sep 2023 08:44:29 +0200 From: Uladzimir Bely To: isar-users@googlegroups.com Subject: [PATCH 08/13] kas: Add ccache option Date: Fri, 15 Sep 2023 08:44:21 +0200 Message-Id: <20230915064426.27676-9-ubely@ilbers.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20230915064426.27676-1-ubely@ilbers.de> References: <20230915064426.27676-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: n8zl46yE1qT9 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.yml | 6 ++++++ 2 files changed, 16 insertions(+) create mode 100644 kas/opt/ccache.yml diff --git a/kas/opt/Kconfig b/kas/opt/Kconfig index 87e8287d..56b29824 100644 --- a/kas/opt/Kconfig +++ b/kas/opt/Kconfig @@ -92,3 +92,13 @@ config KAS_INCLUDE_ISAR_CROSS_COMPILE string default "kas/opt/crosscompile.yml" 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.yml" + depends on USE_CCACHE diff --git a/kas/opt/ccache.yml b/kas/opt/ccache.yml new file mode 100644 index 00000000..7443dd8b --- /dev/null +++ b/kas/opt/ccache.yml @@ -0,0 +1,6 @@ +header: + version: 14 + +local_conf_header: + ccache: | + USE_CCACHE = "1" -- 2.20.1