--- meson-1.10.0.old/mesonbuild/compilers/compilers.py +++ meson-1.10.0/mesonbuild/compilers/compilers.py @@ -835,7 +835,7 @@ extra_args = [] with TemporaryDirectoryWinProof(dir=temp_dir if temp_dir else None) as tmpdirname: - no_ccache = False + no_ccache = True if isinstance(code, str): srcname = os.path.join(tmpdirname, 'testfile.' + self.default_suffix) @@ -872,8 +872,8 @@ mlog.debug(code_debug) os_env = os.environ.copy() os_env['LC_ALL'] = 'C' - if no_ccache: - os_env['CCACHE_DISABLE'] = '1' + #if no_ccache: + # os_env['CCACHE_DISABLE'] = '1' p, stdo, stde = Popen_safe_logged(command_list, msg='Command line', cwd=tmpdirname, env=os_env) result = CompileResult(stdo, stde, command_list, p.returncode, input_name=srcname) --- meson-1.10.0.old/mesonbuild/envconfig.py +++ meson-1.10.0/mesonbuild/envconfig.py @@ -436,11 +436,11 @@ @staticmethod def detect_ccache() -> ExternalProgram: - return ExternalProgram('ccache', silent=True) + return ExternalProgram('ccache-moo', silent=True) @staticmethod def detect_sccache() -> ExternalProgram: - return ExternalProgram('sccache', silent=True) + return ExternalProgram('sccache-moo', silent=True) @staticmethod def detect_compiler_cache() -> ExternalProgram: