Add disable_cache to the fortran compiler
@@ -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)
