Conversation
Align Clang toolchain documentation across getting started, CMake build system, and module integration guides to point to Liam Girdwood's llvm-project fork repository and its authoritative README.md. Changes: - In getting_started/index.rst, replace redundant/diverging inlined compiler build and workspace clone steps with a direct pointer to https://github.com/lgirdwood/llvm-project (branch llvm-stable) and its authoritative README.md. - In developer_guides/tech/cmake.rst, remove erroneous environment variables (ZEPHYR_TOOLCHAIN_VARIANT=llvm, LLVM_TOOLCHAIN_PATH) and manual 'west build ... app/' commands. Document that Clang builds are driven via 'xtensa-build-zephyr.py --llvm-clang', point to the fork README, and retain the mandatory Integrated Assembler (IAS) policy. - In developer_guides/firmware/module_integration_guide.rst, update the toolchain comparison table build command to use --llvm-clang and cross-reference the fork README. - In developer_guides/tech/images/cmake_build_pipeline_architecture.svg, update the toolchain box to reflect '--llvm-clang (Xtensa Fork)' and wrapper invocation. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
lgirdwood
requested review from
deb-intel,
intelkevinputnam,
mmaka1 and
mwasko
as code owners
September 21, 2026 17:26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Aligns LLVM/Clang toolchain documentation across
getting_started/index.rst,developer_guides/tech/cmake.rst, anddeveloper_guides/firmware/module_integration_guide.rstto point directly to Liam Girdwood'sllvm-projectfork repository and its authoritativeREADME.md.Key Changes
getting_started/index.rst): Replaced redundant inlined compiler build and workspace clone instructions with a direct pointer tohttps://github.com/lgirdwood/llvm-project(branchllvm-stable) and itsREADME.mdas the authoritative Single Source of Truth for compiler setup, Windowed ABIcompiler-rtbuiltins, and workspace branches.developer_guides/tech/cmake.rst): Removed erroneous environment variables (ZEPHYR_TOOLCHAIN_VARIANT=llvm,LLVM_TOOLCHAIN_PATH) and manualwest build ... app/snippets. Documented that Clang builds are invoked viaxtensa-build-zephyr.py --llvm-clangand referenced the fork README. Retained the mandatory Integrated Assembler (IAS) policy.developer_guides/firmware/module_integration_guide.rst): Updated the toolchain comparison table build command to usextensa-build-zephyr.py -p ptl --llvm-clang /path/to/llvm-project/build --build-dir-suffix -llvmand linked to the fork README.developer_guides/tech/images/cmake_build_pipeline_architecture.svg): Updated the toolchain box to reflect--llvm-clang (Xtensa Fork)and wrapper invocation.Signed-off-by: Liam Girdwood liam.r.girdwood@linux.intel.com