adonis0147 opened a new pull request, #20871: URL: https://github.com/apache/doris/pull/20871
## Proposed changes In workflow `BE UT (Clang)`, we set up the `ldb_toolchain` before we build the UT. During generating the toolchain tools, the script modifies the `RPATH` and `dynamic linker` of the executables which making the `mtime` of compilers change in every build. By default, Ccache computes the hash of the compilers' `mtime` and `size` to check the compilers whether they are consistent with the ones which were used to generate the cache. If the compilers change, the cache can not be hit. We should change the default behavior of Ccache by setting the configuration `compiler_check (CCACHE_COMPILERCHECK)` to increase the cache hit ratio in the workflow. ## Further comments If this is a relatively large or complex change, kick off the discussion at [[email protected]](mailto:[email protected]) by explaining why you chose the solution you did and what alternatives you considered, etc... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
