summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/cpp.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-04-29 21:00:40 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2019-05-05 21:58:08 +0300
commit541f2ce535b88ee5c658aa4054aa3eb3fcf42342 (patch)
tree2b5d2208561b3d1b60725ddd9fea937135e6e2f6 /mesonbuild/compilers/cpp.py
parenta0cf7ad3d8fbafacb7146488d8e56c301646aa92 (diff)
downloadmeson-revert5323.tar.gz
Revert "Merge pull request #5323 from scivision/pgiflang"revert5323
This reverts commit 9cd89f55fca0933dd2897ac7470c5827d939e0ac, reversing changes made to 60969d99d33001317c569a9b37d3b9efae08d387.
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
-rw-r--r--mesonbuild/compilers/cpp.py13
1 files changed, 3 insertions, 10 deletions
diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py
index a089a5b9c..6b30a94cf 100644
--- a/mesonbuild/compilers/cpp.py
+++ b/mesonbuild/compilers/cpp.py
@@ -19,7 +19,7 @@ from .. import coredata
from .. import mlog
from ..mesonlib import MesonException, version_compare
-from .c import CCompiler, VisualStudioCCompiler, ClangClCCompiler, IntelClCCompiler
+from .c import CCompiler, VisualStudioCCompiler, ClangClCCompiler
from .compilers import (
gnu_winlibs,
msvc_winlibs,
@@ -256,9 +256,9 @@ class GnuCPPCompiler(GnuCompiler, CPPCompiler):
class PGICPPCompiler(PGICompiler, CPPCompiler):
- def __init__(self, exelist, version, compiler_type, is_cross, exe_wrapper=None, **kwargs):
+ def __init__(self, exelist, version, is_cross, exe_wrapper=None, **kwargs):
CPPCompiler.__init__(self, exelist, version, is_cross, exe_wrapper, **kwargs)
- PGICompiler.__init__(self, compiler_type)
+ PGICompiler.__init__(self, CompilerType.PGI_STANDARD)
class ElbrusCPPCompiler(GnuCPPCompiler, ElbrusCompiler):
@@ -436,13 +436,6 @@ class ClangClCPPCompiler(VisualStudioCPPCompiler, ClangClCCompiler):
VisualStudioCPPCompiler.__init__(self, exelist, version, is_cross, exe_wrap, target)
self.id = 'clang-cl'
-
-class IntelClCPPCompiler(VisualStudioCPPCompiler, IntelClCCompiler):
- def __init__(self, exelist, version, is_cross, exe_wrap, target):
- VisualStudioCPPCompiler.__init__(self, exelist, version, is_cross, exe_wrap, target)
- self.id = 'intel'
-
-
class ArmCPPCompiler(ArmCompiler, CPPCompiler):
def __init__(self, exelist, version, compiler_type, is_cross, exe_wrap=None, **kwargs):
CPPCompiler.__init__(self, exelist, version, is_cross, exe_wrap, **kwargs)