.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 <marc.herbert@intel.com>
This commit is contained in:
Marc Herbert 2022-10-10 10:48:21 -07:00 committed by Kai Vehmanen
parent 1893ea34d3
commit 6adf9acbad
1 changed files with 10 additions and 0 deletions

View File

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