public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH v4 0/3] Support of ccache
@ 2021-11-01 10:09 Uladzimir Bely
  2021-11-01 10:09 ` [PATCH v4 1/3] meta: Support for ccache for custom packages Uladzimir Bely
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Uladzimir Bely @ 2021-11-01 10:09 UTC (permalink / raw)
  To: isar-users

Changes since v3:
- Ci test for ccache excluded from `full` set of tests
Changes since v2:
- Using USE_CCACHE="1" to enable the feature instead of inheriting
- Removed ccache.bbclass, set required vars in bitbake.conf
- Addec CI test for ccache
Changes since v1:
- Simplified used variables
- Rebased on latest `next` 

Some custom user packages built from sources may be written in C/C++.
Using ccache will help to decrease build time in case they are rebuilt.

Some results measured:

`mc:stm32mp15x-buster:linux-mainline`: 115 min => 28 min;
`mc:de0-nano-soc-buster:isar-image-base`: 150 min => 81 min;
`mc:qemuamd64-bullseye:isar-image-base`: 17 min => 14 min.


Uladzimir Bely (3):
  meta: Support for ccache for custom packages
  doc: Add section about ccache usage
  ci: Add test for ccache

 doc/user_manual.md                            | 17 ++++++++++
 meta-isar/conf/local.conf.sample              |  5 +++
 meta/classes/buildchroot.bbclass              |  9 +++++
 meta/classes/dpkg.bbclass                     |  2 +-
 meta/conf/bitbake.conf                        |  5 +++
 .../buildchroot/buildchroot.inc               |  1 +
 .../buildchroot/files/build.sh                |  5 +++
 .../buildchroot/files/common.sh               |  1 +
 testsuite/build_test/build_test.py            | 11 +++++++
 testsuite/build_test/cibase.py                | 33 +++++++++++++++++++
 10 files changed, 88 insertions(+), 1 deletion(-)

-- 
2.20.1


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

end of thread, other threads:[~2021-11-18  9:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-01 10:09 [PATCH v4 0/3] Support of ccache Uladzimir Bely
2021-11-01 10:09 ` [PATCH v4 1/3] meta: Support for ccache for custom packages Uladzimir Bely
2021-11-01 10:09 ` [PATCH v4 2/3] doc: Add section about ccache usage Uladzimir Bely
2021-11-01 10:09 ` [PATCH v4 3/3] ci: Add test for ccache Uladzimir Bely
2021-11-18  9:37 ` [PATCH v4 0/3] Support of ccache Anton Mikanovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox