Revert "xtensa-build-zephyr.py: west update --depth 5 --narrow"

This reverts commit ce28e09bd3.

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 <marc.herbert@intel.com>
This commit is contained in:
Marc Herbert 2022-12-08 07:09:25 +00:00 committed by Liam Girdwood
parent 8cdf8e1e17
commit 09386bc0d9
1 changed files with 1 additions and 2 deletions

View File

@ -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):