-
Notifications
You must be signed in to change notification settings - Fork 0
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
Generate ccache wrapper scripts instead of symlink #39
Conversation
|
ccache symlink to clang will be derefed by Bazel
No.
That is exactly what this PR does.
Will do |
af99a3f
to
f6ae91a
Compare
I mean give it CC without PATH |
Tested with Bazel 5.2. It is a workaround for issue bazelbuild/rules_cc#130
No, because Bazel does not like full path. I # think the point is, you either use installed compilers (those can be find by |
Not sure what does toolchain looks like here, but it should still use the full path. |
The customized toolchain does need full paths. The auto generated toolchain is also using the full paths, but the default auto toolchain generator does not like full paths in CC for whatever reason. In this particular case, we set the PATH variable only for bazel build command, and we know there are only our ccache wrappers in that added PATH. |
f6ae91a
to
cb73672
Compare
Tested with Bazel 5.2. It is a workaround for issue
bazelbuild/rules_cc#130