Add disable_cache to the fortran compiler

pull/4952/head
Daniel Mensinger 6 years ago
parent 210fe5bf40
commit 47c06a7875
No known key found for this signature in database
GPG Key ID: 54DD94C131E277D4
  1. 12
      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)

Loading…
Cancel
Save