aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2019-03-03 23:32:21 +0100
committerDaniel Mensinger <daniel@mensinger-ka.de>2019-04-28 14:33:22 +0200
commit47c06a787504dd9635a0bd5a9e2013aa4bf85b12 (patch)
tree3aa27b92c516d94650fa5129658d29b5903d4c5b /mesonbuild/compilers
parent210fe5bf40f596e50da9c39f15e101459deac9eb (diff)
downloadmeson-47c06a787504dd9635a0bd5a9e2013aa4bf85b12.zip
meson-47c06a787504dd9635a0bd5a9e2013aa4bf85b12.tar.gz
meson-47c06a787504dd9635a0bd5a9e2013aa4bf85b12.tar.bz2
Add disable_cache to the fortran compiler
Diffstat (limited to 'mesonbuild/compilers')
-rw-r--r--mesonbuild/compilers/fortran.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/mesonbuild/compilers/fortran.py b/mesonbuild/compilers/fortran.py
index 0f7c38e..7e27f1a 100644
--- a/mesonbuild/compilers/fortran.py
+++ b/mesonbuild/compilers/fortran.py
@@ -250,16 +250,16 @@ class FortranCompiler(Compiler):
def _get_compiler_check_args(self, env, extra_args, dependencies, mode='compile'):
return CCompiler._get_compiler_check_args(self, env, extra_args, dependencies, mode=mode)
- def compiles(self, code, env, *, extra_args=None, dependencies=None, mode='compile'):
+ def compiles(self, code, env, *, extra_args=None, dependencies=None, mode='compile', disable_cache=False):
return CCompiler.compiles(self, code, env, extra_args=extra_args,
- dependencies=dependencies, mode=mode)
+ dependencies=dependencies, mode=mode, disable_cache=disable_cache)
- def _build_wrapper(self, code, env, extra_args, dependencies=None, mode='compile', want_output=False):
- return CCompiler._build_wrapper(self, code, env, extra_args, dependencies, mode, want_output)
+ def _build_wrapper(self, code, env, extra_args, dependencies=None, mode='compile', want_output=False, disable_cache=False):
+ return CCompiler._build_wrapper(self, code, env, extra_args, dependencies, mode, want_output, disable_cache=disable_cache)
- def links(self, code, env, *, extra_args=None, dependencies=None):
+ def links(self, code, env, *, extra_args=None, dependencies=None, disable_cache=False):
return CCompiler.links(self, code, env, extra_args=extra_args,
- dependencies=dependencies)
+ dependencies=dependencies, disable_cache=disable_cache)
def run(self, code, env, *, extra_args=None, dependencies=None):
return CCompiler.run(self, code, env, extra_args=extra_args, dependencies=dependencies)