Skip to content

board: intel_adsp_ace15_mtpm xtensa toolchain upgrade and enable xt-clang#7027

Merged
lgirdwood merged 3 commits intothesofproject:mainfrom
aborisovich:mtl-xtensa-toolchain-upgrade
Feb 28, 2023
Merged

board: intel_adsp_ace15_mtpm xtensa toolchain upgrade and enable xt-clang#7027
lgirdwood merged 3 commits intothesofproject:mainfrom
aborisovich:mtl-xtensa-toolchain-upgrade

Conversation

@aborisovich
Copy link
Copy Markdown
Contributor

@aborisovich aborisovich commented Feb 1, 2023

Release toolchain for Intel Meteorlake board is Xtensa RI-2022.10.
Upgraded toolchain to final version. New Xtensa toolchains does not support obsolete xt-xcc driver anymore,
so we need to switch to new xt-clang driver.
In this PR:

  • modified xtensa-build-system.py to build mtl platform with new Xtensa toolchain version RI-2022.10 and core ace10_LX7HiFi4_2022_10
  • modified processes and xtensa-build-system.py to use new compiler xt-clang as the xt-xcc is not available anymore
    in new Xtensa toolchains.
  • added requirement to SOF project to use C++17 standard. This was caused by changes in Zephyr lib: os: PoT utilities, hash function, hash map (hash table) zephyrproject-rtos/zephyr#53405 that require C++14 standard.
    MTL has cpp code that uses those headers but we can move straight away to C++17 as the newest standard supported by xt-clang in this toolchain.
  • please note: commit 9ae133d1abedd0ab8ebc8999954cf249648e84e7 will be dropped from this PR before merging. It contains temporary code to test new toolchain in Intel Internal CI & SOF CI and also provide debug logging.

Merging this PR will require synchronization with the Intel Internal CI team so they can change environmental variables on their side that would select new toolchain as default in production.

Dependencies:

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants