diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2019-04-28 20:30:00 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-28 20:30:00 +0300 |
commit | 9cd89f55fca0933dd2897ac7470c5827d939e0ac (patch) | |
tree | 611b7471e0421d078d222bd7a413f762565cad8d /mesonbuild/compilers/c.py | |
parent | 60969d99d33001317c569a9b37d3b9efae08d387 (diff) | |
parent | 50f23815658bb704f454c83edfe2cc7e4e419628 (diff) | |
download | meson-9cd89f55fca0933dd2897ac7470c5827d939e0ac.zip meson-9cd89f55fca0933dd2897ac7470c5827d939e0ac.tar.gz meson-9cd89f55fca0933dd2897ac7470c5827d939e0ac.tar.bz2 |
Merge pull request #5323 from scivision/pgiflang
Windows compiler fixes: PGI, Intel
Diffstat (limited to 'mesonbuild/compilers/c.py')
-rw-r--r-- | mesonbuild/compilers/c.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/mesonbuild/compilers/c.py b/mesonbuild/compilers/c.py index 94ef336..54ca894 100644 --- a/mesonbuild/compilers/c.py +++ b/mesonbuild/compilers/c.py @@ -1324,9 +1324,9 @@ class GnuCCompiler(GnuCompiler, CCompiler): class PGICCompiler(PGICompiler, CCompiler): - def __init__(self, exelist, version, is_cross, exe_wrapper=None, **kwargs): + def __init__(self, exelist, version, compiler_type, is_cross, exe_wrapper=None, **kwargs): CCompiler.__init__(self, exelist, version, is_cross, exe_wrapper, **kwargs) - PGICompiler.__init__(self, CompilerType.PGI_STANDARD) + PGICompiler.__init__(self, compiler_type) class ElbrusCCompiler(GnuCCompiler, ElbrusCompiler): @@ -1722,6 +1722,12 @@ class ClangClCCompiler(VisualStudioCCompiler): self.id = 'clang-cl' +class IntelClCCompiler(VisualStudioCCompiler): + def __init__(self, exelist, version, is_cross, exe_wrap, target): + super().__init__(exelist, version, is_cross, exe_wrap, target) + self.id = 'intel' + + class ArmCCompiler(ArmCompiler, CCompiler): def __init__(self, exelist, version, compiler_type, is_cross, exe_wrapper=None, **kwargs): CCompiler.__init__(self, exelist, version, is_cross, exe_wrapper, **kwargs) |