-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Remote caching broken on macOS with Xcode #10184
Comments
cc @allevato |
That was an unanticipated effect of that change. So the issue here is that the C++ actions in crosstool invoke
I'm not sure what the best solution here is. @keith, you were experimenting with something that would replace the @hlopko, does that sound like a reasonable approach? |
Description of the problem request:
Remote caching with Bazel 1.1 (#9982) was broken by #8495. That changes embeds an absolute path in
cc_wrapper.sh
. For example:This has both username and workspace path hash. This wrapper is an input to pretty much every compilation command, causing an extremely degraded cache hit rate.
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
We saw this with remote builds. An easier repro might be to use local
--disk_cache
between to separate local checkouts of a project.What operating system are you running Bazel on?
macOS
What's the output of
bazel info release
?release 1.1.0
The text was updated successfully, but these errors were encountered: