Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve sccache hit rate on windows #34435

Merged
merged 1 commit into from
Jul 29, 2021

Conversation

zhwesky2010
Copy link
Contributor

@zhwesky2010 zhwesky2010 commented Jul 28, 2021

PR types

Function optimization

PR changes

Others

Describe

提高sccache的命中率,有80个源文件完全无法命中,由于unity build指定了所组合的inlcude的源文件的绝对路径,使得unity build对应的源文件无法命中。

cmake里的自动代码生成部分,展开了绝对路径,也导致少量源文件无法命中。

始终无法完全命中的源文件

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@zhwesky2010 zhwesky2010 changed the base branch from improve_sccache to develop July 28, 2021 02:24
@PaddlePaddle PaddlePaddle locked and limited conversation to collaborators Jul 28, 2021
@PaddlePaddle PaddlePaddle unlocked this conversation Jul 28, 2021
@zhwesky2010 zhwesky2010 changed the title Improve sccache hit rate and avoid absolute path Improve sccache hit rate on windows Jul 28, 2021
@zhwesky2010 zhwesky2010 merged commit 92d8fed into PaddlePaddle:develop Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants