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

Sccache passes content of response file directly to CreateProcess with msvc. #2249

Open
ashwinbanwari opened this issue Aug 23, 2024 · 0 comments

Comments

@ashwinbanwari
Copy link

I work with a large repo which uses response files to get around the Windows Server 32k character limit with CreateProcess. Sccache works well for us except when compiling object files that have an incredibly large amount of compiler options (mostly -IC (include directories)). We get the error [1] sccache: caused by: failed to spawn Command followed by the expanded command sccache tried to use to compile where it expanded the content of the response file instead of trying to use the original command.

Expected result: Sccache should try to compile using the compile command given to it where it references a response file and not try to compile with the expanded form of the command.

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

No branches or pull requests

1 participant