aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-09-28 10:29:00 -0700
committerDylan Baker <dylan@pnwbakers.com>2020-10-01 15:05:01 -0700
commite039727e63561b0ecf75eff853579ee85f498a11 (patch)
tree4ef29e1d919408bef4caf8f484635f1d9a688762 /mesonbuild/compilers/compilers.py
parent3fc37fc13e12779343ddaf830ebde7e096f77a41 (diff)
downloadmeson-e039727e63561b0ecf75eff853579ee85f498a11.zip
meson-e039727e63561b0ecf75eff853579ee85f498a11.tar.gz
meson-e039727e63561b0ecf75eff853579ee85f498a11.tar.bz2
compilers/fortran: add type annotations
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r--mesonbuild/compilers/compilers.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py
index 260a1f4..0a53529 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -1097,6 +1097,15 @@ class Compiler(metaclass=abc.ABCMeta):
def get_optimization_args(self, optimization_level: str) -> T.List[str]:
raise EnvironmentError('{} does not implement get_optimization_args'.format(self.id))
+ def get_module_incdir_args(self) -> T.Tuple[str, ...]:
+ raise EnvironmentError('{} does not implement get_module_incdir_args'.format(self.id))
+
+ def get_module_outdir_args(self, path: str) -> T.List[str]:
+ raise EnvironmentError('{} does not implement get_module_outdir_args'.format(self.id))
+
+ def module_name_to_filename(self, module_name: str) -> str:
+ raise EnvironmentError('{} does not implement module_name_to_filename'.format(self.id))
+
def get_args_from_envvars(lang: str,
for_machine: MachineChoice,