diff options
author | Robert Cohn <robert.s.cohn@intel.com> | 2022-10-09 09:14:52 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2022-10-24 18:55:22 +0300 |
commit | 1939e567d6dc7be5cc9495cacde6b984e58409a0 (patch) | |
tree | df970e2821e0b5b95841ba75e7ffab906f8af958 /mesonbuild/compilers/c.py | |
parent | 942aea230f5e517d5add194240c8943f28d79943 (diff) | |
download | meson-1939e567d6dc7be5cc9495cacde6b984e58409a0.zip meson-1939e567d6dc7be5cc9495cacde6b984e58409a0.tar.gz meson-1939e567d6dc7be5cc9495cacde6b984e58409a0.tar.bz2 |
basic support for oneapi compilers
Diffstat (limited to 'mesonbuild/compilers/c.py')
-rw-r--r-- | mesonbuild/compilers/c.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mesonbuild/compilers/c.py b/mesonbuild/compilers/c.py index 4ca3689..c41a7e2 100644 --- a/mesonbuild/compilers/c.py +++ b/mesonbuild/compilers/c.py @@ -408,6 +408,11 @@ class IntelCCompiler(IntelGnuLikeCompiler, CCompiler): return args +class IntelLLVMCCompiler(ClangCCompiler): + + id = 'intel-llvm' + + class VisualStudioLikeCCompilerMixin(CompilerMixinBase): """Shared methods that apply to MSVC-like C compilers.""" @@ -530,6 +535,11 @@ class IntelClCCompiler(IntelVisualStudioLikeCompiler, VisualStudioLikeCCompilerM return args +class IntelLLVMClCCompiler(IntelClCCompiler): + + id = 'intel-llvm-cl' + + class ArmCCompiler(ArmCompiler, CCompiler): def __init__(self, exelist: T.List[str], version: str, for_machine: MachineChoice, is_cross: bool, info: 'MachineInfo', |