-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[CMake] Fix the check for Windows vs ccache #137238
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
Conversation
Only the host OS matters for how to interact with ccache, not the target OS that we may be cross compiling for. This mistake seems to have been present all since support for ccache on Windows was added in a4425cc.
Is there any reason why this shouldn't just check CMAKE_HOST_SYSTEM_NAME? |
It could check that as well, but |
Fair enough, works the same either way so I suppose it's just down to stylistic preference. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but it's probably best to wait for @petrhosek before merging given that I'm not the maintainer for this file. Nice catch in any case!
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/72/builds/10506 Here is the relevant piece of the build log for the reference
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/146/builds/2783 Here is the relevant piece of the build log for the reference
|
Only the host OS matters for how to interact with ccache, not the target OS that we may be cross compiling for. This mistake seems to have been present all since support for ccache on Windows was added in a4425cc.
Only the host OS matters for how to interact with ccache, not the target OS that we may be cross compiling for. This mistake seems to have been present all since support for ccache on Windows was added in a4425cc.
Only the host OS matters for how to interact with ccache, not the target OS that we may be cross compiling for. This mistake seems to have been present all since support for ccache on Windows was added in a4425cc.
Only the host OS matters for how to interact with ccache, not the target OS that we may be cross compiling for. This mistake seems to have been present all since support for ccache on Windows was added in a4425cc.
Only the host OS matters for how to interact with ccache, not the target OS that we may be cross compiling for.
This mistake seems to have been present all since support for ccache on Windows was added in
a4425cc.