You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "adonis0147 (via GitHub)" <gi...@apache.org> on 2023/06/15 13:13:08 UTC
[GitHub] [doris] adonis0147 opened a new pull request, #20871: [chore](workflow) Improve the cache hit ratio in BE UT (Clang)
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 [dev@doris.apache.org](mailto:dev@doris.apache.org) 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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] adonis0147 commented on pull request #20871: [chore](workflow) Improve the cache hit ratio in BE UT (Clang)
Posted by "adonis0147 (via GitHub)" <gi...@apache.org>.
adonis0147 commented on PR #20871:
URL: https://github.com/apache/doris/pull/20871#issuecomment-1593043629
run buildall
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] github-actions[bot] commented on pull request #20871: [chore](workflow) Improve the cache hit ratio in BE UT (Clang)
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #20871:
URL: https://github.com/apache/doris/pull/20871#issuecomment-1594013535
PR approved by at least one committer and no changes requested.
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] adonis0147 merged pull request #20871: [chore](workflow) Improve the cache hit ratio in BE UT (Clang)
Posted by "adonis0147 (via GitHub)" <gi...@apache.org>.
adonis0147 merged PR #20871:
URL: https://github.com/apache/doris/pull/20871
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] github-actions[bot] commented on pull request #20871: [chore](workflow) Improve the cache hit ratio in BE UT (Clang)
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #20871:
URL: https://github.com/apache/doris/pull/20871#issuecomment-1594013553
PR approved by anyone and no changes requested.
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org