public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] scripts/ci: enable use of cached base repository for fast build
@ 2018-11-29  7:19 Maxim Yu. Osipov
  2018-11-29  7:58 ` Jan Kiszka
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Maxim Yu. Osipov @ 2018-11-29  7:19 UTC (permalink / raw)
  To: isar-users

Signed-off-by: Maxim Yu. Osipov <mosipovd@ilbers.de>
---
 scripts/ci_build.sh | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
index 059df21..20b77b7 100755
--- a/scripts/ci_build.sh
+++ b/scripts/ci_build.sh
@@ -86,7 +86,14 @@ fi
 if [ -n "$FAST_BUILD" ]; then
     # Start build for the reduced set of configurations
     # Enforce cross-compilation to speed up the build
+    # Enable use of cached base repository
     sed -i -e 's/ISAR_CROSS_COMPILE ?= "0"/ISAR_CROSS_COMPILE ?= "1"/g' conf/local.conf
+    bitbake $BB_ARGS -c cache_base_repo \
+        multiconfig:qemuarm-stretch:isar-image-base \
+        multiconfig:qemuarm64-stretch:isar-image-base \
+        multiconfig:qemuamd64-stretch:isar-image-base
+    sudo rm -rf tmp
+    sed -i -e 's/#ISAR_USE_CACHED_BASE_REPO ?= "1"/ISAR_USE_CACHED_BASE_REPO ?= "1"/g' conf/local.conf
     bitbake $BB_ARGS \
         multiconfig:qemuarm-stretch:isar-image-base \
         multiconfig:qemuarm64-stretch:isar-image-base \
-- 
2.11.0


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

end of thread, other threads:[~2018-11-29 13:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-29  7:19 [PATCH] scripts/ci: enable use of cached base repository for fast build Maxim Yu. Osipov
2018-11-29  7:58 ` Jan Kiszka
2018-11-29 11:33 ` Henning Schild
2018-11-29 12:02   ` Maxim Yu. Osipov
2018-11-29 12:33     ` Henning Schild
2018-11-29 12:40       ` Jan Kiszka
2018-11-29 13:01       ` Maxim Yu. Osipov
2018-11-29 13:26 ` Maxim Yu. Osipov

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