Skip to content

Support ARMClang compiler

pengbaolai requested to merge pbl/cmake:ARMClang into master

ref #18215 (closed)

Two reasons to add new compiler ID:

  1. ARMClang C and C++ compiler use Clang frontend, but other binutils is ARMCC. ARMCC compiler options on can't be used on ARMClang, and Clang binutils (linker, archiver...) can't be use for ARMClang;

  2. ARMClang force needs a "--taget=..." option, even badly on recent version force need "--taget=... -mcpu=..." options at least. So current CMAKE compiler auto detection not works.

Merge request reports