Skip to content

Add TI Arm Clang Compiler Support to Core Tests#277

Open
smmasongt wants to merge 13 commits intoARM-software:mainfrom
smmasongt:feature/core-test-ti-support
Open

Add TI Arm Clang Compiler Support to Core Tests#277
smmasongt wants to merge 13 commits intoARM-software:mainfrom
smmasongt:feature/core-test-ti-support

Conversation

@smmasongt
Copy link
Contributor

Builds on previous work in CMSIS-Toolbox to add TI Arm Clang Compiler support to CMSIS under designator CLANG_TI.

  • Adds Clang_TI option to Core Unit Tests scripts.
  • Adds new Cortex-R device selections to Core Unit Tests scripts.
  • Updates documentation to include new compiler and devices.
  • Fixes link issue with Clang Compiler 20.1.0 which pointed to 404 website. Moved link from LLVM Embedded Toolchain to new Arm Toolchain for Embedded repo.

Note: Cortex-R support is dependent on pull request #45 and future header updates.

@smmasongt smmasongt closed this Feb 14, 2026
@smmasongt smmasongt reopened this Feb 16, 2026
super().__init__('CLANG_TI', **args)

def get_cc(self):
return os.path.join(self.get_root(), 'tiarmclang')
Copy link
Member

@JonatanAntoni JonatanAntoni Feb 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tiarmclang needs to be installed during the workflow and registered via CLANG_TI_TOOLCHAIN_5_0_0=<path>/bin environment variable.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I verified this locally on MacOS and it works.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated documentation to clarify instructions for environment variables.

Comment on lines 89 to 91
- [CMSIS-Toolbox 2.10.0](https://artifacts.keil.arm.com/cmsis-toolbox/2.10.0/)*
- [CMake 3.28.4](https://cmake.org/download/)*
- [Ninja 1.12.0](https://github.com/ninja-build/ninja/releases)*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Core Tests do not rely on CMSIS-Toolbox, CMake, and Ninja.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed unnecessary references.

@JonatanAntoni
Copy link
Member

@smmasongt, you may want to discuss distributing your toolchain via vcpkg like we do. This would make it easier for users to install the toolchain properly.

@smmasongt
Copy link
Contributor Author

@JonatanAntoni I'll work on removing those unnecessary dependencies tonight. I misunderstood the build flow and thought the toolchain environment variables were used indirectly by CMSIS Toolbox.

@smmasongt
Copy link
Contributor Author

@smmasongt, you may want to discuss distributing your toolchain via vcpkg like we do. This would make it easier for users to install the toolchain properly.

I'll reach out to the Arm maintainers to see if they would be willing to add it to vcpkg. I'm not affiliated with TI so hopefully there won't be any license issues with rehosting the installers.

@JonatanAntoni
Copy link
Member

I'll reach out to the Arm maintainers to see if they would be willing to add it to vcpkg. I'm not affiliated with TI so hopefully there won't be any license issues with rehosting the installers.

Ah, thanks for stating this clear. TI would be expected to run their own vcpkg registry. Re-hosting would not be required once the download links are public. Its just a matter of providing some json metadata files which point to the download links and give some installation instructions (such as the CLANG_TI_TOOLCHAIN_5_0_0 environment variable).

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.

2 participants

Comments