From 6adf9acbad7c873b9215581a1a248fda65d6b118 Mon Sep 17 00:00:00 2001 From: Marc Herbert Date: Mon, 10 Oct 2022 10:48:21 -0700 Subject: [PATCH] .github/sparse: add MTL Add the wrong compiler currently expected by the Zephyr build system, very easy one-line change later, get sparse results for MTL NOW! Signed-off-by: Marc Herbert --- .github/workflows/zephyr.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/zephyr.yml b/.github/workflows/zephyr.yml index 011dce2b3..677574798 100644 --- a/.github/workflows/zephyr.yml +++ b/.github/workflows/zephyr.yml @@ -82,6 +82,16 @@ jobs: platforms: [ {platform: tgl, real_cc: xtensa-intel_s1000_zephyr-elf/bin/xtensa-intel_s1000_zephyr-elf-gcc}, + # This is the WRONG compiler for MTL but for now this is the + # one and only one expected by the Zephyr build system so it + # must be set to this value to sparse MTL. + # Sparse needs a REAL_CC but it does not matter which one, it + # does not affect sparse results. + # As soon as sof/west.yml is updated to a fixed Zephyr version + # this will fail with an error message that will show the + # exact value that must replace this one. + {platform: mtl, + real_cc: xtensa-intel_s1000_zephyr-elf/bin/xtensa-intel_s1000_zephyr-elf-gcc}, ] steps: