diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2021-12-16 17:09:06 -0500 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2022-01-03 12:49:04 -0500 |
commit | f30e83efd6968eacf07ebe3f1400e06a8a529778 (patch) | |
tree | e14f358550c0f389ea64ba0b27178e456098d492 /mesonbuild/compilers/c.py | |
parent | 786d4379824a370b3a6ea415dc48aadb3b1f9dd2 (diff) | |
download | meson-f30e83efd6968eacf07ebe3f1400e06a8a529778.zip meson-f30e83efd6968eacf07ebe3f1400e06a8a529778.tar.gz meson-f30e83efd6968eacf07ebe3f1400e06a8a529778.tar.bz2 |
armltdclang: add support for ARM Ltd.'s `armclang` toolchain
This is another toolchain also called `armclang`, but it is not a cross
compiler like Keil's `armclang`. It is essentially the same as `clang`
based on its interface and CMake's support of the toolchain.
Use an `armltd` prefix for the compiler ID.
Fixes: #7255
Diffstat (limited to 'mesonbuild/compilers/c.py')
-rw-r--r-- | mesonbuild/compilers/c.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mesonbuild/compilers/c.py b/mesonbuild/compilers/c.py index c531447..30768ad 100644 --- a/mesonbuild/compilers/c.py +++ b/mesonbuild/compilers/c.py @@ -183,6 +183,13 @@ class ClangCCompiler(_ClangCStds, ClangCompiler, CCompiler): return [] +class ArmLtdClangCCompiler(ClangCCompiler): + + def __init__(self, *args, **kwargs): + ClangCCompiler.__init__(self, *args, **kwargs) + self.id = 'armltdclang' + + class AppleClangCCompiler(ClangCCompiler): """Handle the differences between Apple Clang and Vanilla Clang. |