From 0d9a0c112c7424da3de05f79ede1d839fe3a13e2 Mon Sep 17 00:00:00 2001 From: Kai Vehmanen Date: Wed, 18 Aug 2021 14:01:53 +0300 Subject: [PATCH] xtensa-build-zephyr: disable XCC build for Intel APL The BSS usage exceeds available memory when building for APL/cavs15 hardware with XCC, so disable it for now. Issue tracked as https://github.com/thesofproject/sof/issues/4645 Signed-off-by: Kai Vehmanen --- scripts/xtensa-build-zephyr.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/xtensa-build-zephyr.sh b/scripts/xtensa-build-zephyr.sh index b15250cba..6738e5168 100755 --- a/scripts/xtensa-build-zephyr.sh +++ b/scripts/xtensa-build-zephyr.sh @@ -122,8 +122,11 @@ build() case "$platform" in apl) PLAT_CONFIG='intel_adsp_cavs15' - XTENSA_CORE="X4H3I16w2D48w3a_2017_8" - XTENSA_TOOLS_VERSION="RG-2017.8-linux" + # XCC build runs out of memory, tracked as + # https://github.com/thesofproject/sof/issues/4645 + unset XTENSA_TOOLS_ROOT + #XTENSA_CORE="X4H3I16w2D48w3a_2017_8" + #XTENSA_TOOLS_VERSION="RG-2017.8-linux" ;; cnl) PLAT_CONFIG='intel_adsp_cavs18'