diff options
author | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-01-16 14:15:36 -0500 |
---|---|---|
committer | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-01-16 17:06:44 -0500 |
commit | 9bb21be59bd66ef907cfed5a31269de6f2448a2a (patch) | |
tree | 13f1a2415580a1c0ce8602ed7895233e5837ec7e /mesonbuild/compilers/compilers.py | |
parent | 9a318d3d5a99f6b4d507ff1062f4085f6af86ab8 (diff) | |
download | meson-9bb21be59bd66ef907cfed5a31269de6f2448a2a.zip meson-9bb21be59bd66ef907cfed5a31269de6f2448a2a.tar.gz meson-9bb21be59bd66ef907cfed5a31269de6f2448a2a.tar.bz2 |
FlangFortranCompiler inherit ClangCompiler
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r-- | mesonbuild/compilers/compilers.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index a658554..758b1c3 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -1311,8 +1311,6 @@ class CompilerType(enum.Enum): PGI_STANDARD = 50 - FLANG_STANDARD = 60 - @property def is_standard_compiler(self): return self.name in ('GCC_STANDARD', 'CLANG_STANDARD', 'ICC_STANDARD') @@ -1625,29 +1623,6 @@ class PGICompiler: return [] -class FlangCompiler: - def __init__(self, compiler_type): - self.id = 'flang' - self.compiler_type = compiler_type - - default_warn_args = ['-Minform=inform'] - self.warn_args = {'1': default_warn_args, - '2': default_warn_args, - '3': default_warn_args} - - def get_module_incdir_args(self): - return ('-module', ) - - def get_no_warn_args(self): - return ['-silent'] - - def openmp_flags(self): - return ['-mp'] - - def get_allow_undefined_link_args(self): - return [] - - class ElbrusCompiler(GnuCompiler): # Elbrus compiler is nearly like GCC, but does not support # PCH, LTO, sanitizers and color output as of version 1.21.x. |