diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-04-30 15:41:36 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-05-13 11:22:31 -0700 |
commit | 080f59cf43797a37e1711474b3093f48fefa95c9 (patch) | |
tree | d1e2df192d7ff90287dfcb9f20e865f6b193d8d1 /mesonbuild/compilers/compilers.py | |
parent | 5fb64b0cfa48daf7f2c412ee8e851fa29f2ef1a3 (diff) | |
download | meson-080f59cf43797a37e1711474b3093f48fefa95c9.zip meson-080f59cf43797a37e1711474b3093f48fefa95c9.tar.gz meson-080f59cf43797a37e1711474b3093f48fefa95c9.tar.bz2 |
compilers: rename IntelCompiler to IntelGnuLikeCompiler
The Intel compiler is strange. On Linux and macOS it's called ICC, and
it tries to mostly behave like gcc/clang. On Windows it's called ICL,
and tries to behave like MSVC. This makes the code that's used to
implement ICC support useless for supporting ICL, because their command
line interfaces are completely different.
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r-- | mesonbuild/compilers/compilers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index 653e368..da9ae74 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -2288,7 +2288,7 @@ class ArmclangCompiler: # Tested on linux for ICC 14.0.3, 15.0.6, 16.0.4, 17.0.1, 19.0.0 -class IntelCompiler(GnuLikeCompiler): +class IntelGnuLikeCompiler(GnuLikeCompiler): def __init__(self, compiler_type): super().__init__(compiler_type) |