All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ref-manual/system-requirements.rst: add ccache in distros
@ 2026-08-31  9:58 Jose Quaresma
  2026-08-31 10:26 ` [docs] " Antonin Godard
  0 siblings, 1 reply; 8+ messages in thread
From: Jose Quaresma @ 2026-08-31  9:58 UTC (permalink / raw)
  To: docs; +Cc: Jose Quaresma

Looking at the Yocto docs, ccache is missing on Debian/Ubuntu
and OpenSUSE but is in all the others.

The ccache can improve significantly the builds speeds when we can't
take advantage of the bitbake sstate cache, in such scenario we need
o compile the code. The cache storage needs to be available from the
previous builds so we need to store these ccache artifacts temporary
on our permanent storage.

The ccache is required to build "-native" packages in oe-core
because it requires HOSTTOOLS += "ccache".

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
---
 .../tools/host_packages_scripts/opensuse_essential_15.6.sh      | 2 +-
 .../tools/host_packages_scripts/opensuse_essential_16.0.sh      | 2 +-
 documentation/tools/host_packages_scripts/ubuntu_essential.sh   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/documentation/tools/host_packages_scripts/opensuse_essential_15.6.sh b/documentation/tools/host_packages_scripts/opensuse_essential_15.6.sh
index 0d37e9bd5..9f839d190 100644
--- a/documentation/tools/host_packages_scripts/opensuse_essential_15.6.sh
+++ b/documentation/tools/host_packages_scripts/opensuse_essential_15.6.sh
@@ -1,2 +1,2 @@
-sudo zypper install bzip2 chrpath diffstat gcc gcc-c++ git gzip hostname libacl1 make makeinfo patch python python-curses python-xml python3 python3-Jinja2 python3-curses python3-pexpect python3-pip rpcgen socat tar wget which xz zstd
+sudo zypper install bzip2 ccache chrpath diffstat gcc gcc-c++ git gzip hostname libacl1 make makeinfo patch python python-curses python-xml python3 python3-Jinja2 python3-curses python3-pexpect python3-pip rpcgen socat tar wget which xz zstd
 sudo pip3 install GitPython
diff --git a/documentation/tools/host_packages_scripts/opensuse_essential_16.0.sh b/documentation/tools/host_packages_scripts/opensuse_essential_16.0.sh
index f3ee6ad54..3eae28dd4 100644
--- a/documentation/tools/host_packages_scripts/opensuse_essential_16.0.sh
+++ b/documentation/tools/host_packages_scripts/opensuse_essential_16.0.sh
@@ -1 +1 @@
-sudo zypper install bzip2 chrpath diffstat gcc gcc-c++ git gzip hostname libacl1 make makeinfo patch python3 python3-GitPython python3-Jinja2 python3-curses python3-pexpect python3-pip python3-websockets python3-xml rpcgen socat tar wget which xz zstd
+sudo zypper install bzip2 ccache chrpath diffstat gcc gcc-c++ git gzip hostname libacl1 make makeinfo patch python3 python3-GitPython python3-Jinja2 python3-curses python3-pexpect python3-pip python3-websockets python3-xml rpcgen socat tar wget which xz zstd
diff --git a/documentation/tools/host_packages_scripts/ubuntu_essential.sh b/documentation/tools/host_packages_scripts/ubuntu_essential.sh
index 43f071a09..849d669c9 100644
--- a/documentation/tools/host_packages_scripts/ubuntu_essential.sh
+++ b/documentation/tools/host_packages_scripts/ubuntu_essential.sh
@@ -1 +1 @@
-sudo apt-get install build-essential chrpath cpio debianutils diffstat file gawk gcc git iputils-ping libacl1 libcrypt-dev locales python3 python3-git python3-jinja2 python3-pexpect python3-pip python3-subunit socat texinfo unzip wget xz-utils zstd
+sudo apt-get install build-essential ccache chrpath cpio debianutils diffstat file gawk gcc git iputils-ping libacl1 libcrypt-dev locales python3 python3-git python3-jinja2 python3-pexpect python3-pip python3-subunit socat texinfo unzip wget xz-utils zstd
-- 
2.55.0



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-09-01 13:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-31  9:58 [PATCH] ref-manual/system-requirements.rst: add ccache in distros Jose Quaresma
2026-08-31 10:26 ` [docs] " Antonin Godard
2026-08-31 10:48   ` Jose Quaresma
2026-08-31 12:26     ` Antonin Godard
2026-08-31 13:06       ` Jose Quaresma
2026-09-01 12:20         ` Antonin Godard
2026-09-01 12:39           ` Richard Purdie
2026-09-01 13:33             ` Jose Quaresma

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.