From 09386bc0d978d0f3d18d7c4991869e7da1885c95 Mon Sep 17 00:00:00 2001 From: Marc Herbert Date: Thu, 8 Dec 2022 07:09:25 +0000 Subject: [PATCH] Revert "xtensa-build-zephyr.py: west update --depth 5 --narrow" This reverts commit ce28e09bd33e75b3e4665c7181fae0de8c6459d7. This fixes Zephyr's git describe command and build reproducibility. I tried fairly hard various git fetch options like --shallow-exclude and --shallow-since but they did not save that much download (200MB at best), required some hardcoding and most importantly they make complete clones shallow again when invoked unconditionally. Not worth the effort, build reproducibility is more important. Signed-off-by: Marc Herbert --- scripts/xtensa-build-zephyr.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/xtensa-build-zephyr.py b/scripts/xtensa-build-zephyr.py index c193dbd79..9918c0322 100755 --- a/scripts/xtensa-build-zephyr.py +++ b/scripts/xtensa-build-zephyr.py @@ -449,8 +449,7 @@ def create_zephyr_sof_symlink(): def west_update(): """[summary] Clones all west manifest projects to specified revisions""" global west_top - execute_command(["west", "update" , "--narrow", "--fetch-opt=--depth=5"], - timeout=3000, cwd=west_top) + execute_command(["west", "update"], check=True, timeout=3000, cwd=west_top) def get_build_and_sof_version(abs_build_dir):