diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2019-07-02 14:03:32 -0700 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2019-07-15 10:59:22 -0700 |
| commit | cd5360821a0d107dbc1a097ec93524fd9336b3e9 (patch) | |
| tree | 04249ea4ee7318e2c8c1ef580a325f47797077c5 /mesonbuild/compilers/fortran.py | |
| parent | d68969f1691515b45f0f9d438aebb120059872d9 (diff) | |
| download | meson-cd5360821a0d107dbc1a097ec93524fd9336b3e9.tar.gz | |
compilers: split gnu and gnulike compilers out of compilers
I debated a bit whether both classes really belong in the same module,
and decided that they do because the share a number of helpers.
Diffstat (limited to 'mesonbuild/compilers/fortran.py')
| -rw-r--r-- | mesonbuild/compilers/fortran.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/mesonbuild/compilers/fortran.py b/mesonbuild/compilers/fortran.py index e96cb15ef..12f2dbf28 100644 --- a/mesonbuild/compilers/fortran.py +++ b/mesonbuild/compilers/fortran.py @@ -17,13 +17,8 @@ from pathlib import Path from .compilers import ( CompilerType, - apple_buildtype_linker_args, - gnulike_buildtype_args, - gnulike_buildtype_linker_args, - gnu_optimization_args, clike_debug_args, Compiler, - GnuCompiler, ClangCompiler, ElbrusCompiler, IntelGnuLikeCompiler, @@ -31,6 +26,10 @@ from .compilers import ( IntelVisualStudioLikeCompiler, ) from .mixins.clike import CLikeCompiler +from .mixins.gnu import ( + GnuCompiler, apple_buildtype_linker_args, gnulike_buildtype_args, + gnulike_buildtype_linker_args, gnu_optimization_args, +) from .. import mlog from mesonbuild.mesonlib import ( |
