summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/fortran.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-07-02 14:03:32 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-07-15 10:59:22 -0700
commitcd5360821a0d107dbc1a097ec93524fd9336b3e9 (patch)
tree04249ea4ee7318e2c8c1ef580a325f47797077c5 /mesonbuild/compilers/fortran.py
parentd68969f1691515b45f0f9d438aebb120059872d9 (diff)
downloadmeson-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.py9
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 (