-
Notifications
You must be signed in to change notification settings - Fork 571
MSVC /Fo parameter not handled correctly #1844
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
Comments
Thank you @AudranDoublet! I have searched a lot yesterday, but for some reason I neither found that issue, nor your PR. 🤷♂️ I will definitely give your PR a try! |
This comment may be of interest:
I think what this effectively does is suppress MSBuild Batching which yields the "one file at a time" behavior described. That needs to go into a PS: ideally the savings from |
Uh oh!
There was an error while loading. Please reload this page.
According to the MSVC documentation
/Fo
"Specifies an object (.obj) file name or directory to be used instead of the default."And further:
At the moment sccache always treats
/Fo
as a filename. Unfortunately by default Visual Studio sets this to$(IntDir)
("Path to the directory specified for intermediate files."). So as a result instead of amain.obj
I get aRelease.obj
.I am curious how you use sccache on Windows at the moment that this is not an issue for you. For me it looks like this is the last missing piece to actually get this to work.
The text was updated successfully, but these errors were encountered: