-
Notifications
You must be signed in to change notification settings - Fork 417
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
Can you help me understand why running buildifier via Bazel takes so long? #744
Comments
Often the cause of protobuf library rebuilding is environment variables changing, typically |
I have this issue and most definitely don't have any variance in my environment variables. I'm also using Bazel v1.2.1. Adding my comment from another issue:
|
Does setting Edit: it seems to work when this is set in bazelrc |
Since it appears that you're running buildifier as a githook, know that the PATH is different in your githook script, so you'd need to manage your action_env appropriately. |
It appears like the protoc targets necessary to build buildifier go stale and I'm not quite sure why this is happening. It makes running buildifier via bazel very slow if you're only running it every ~5-10 minutes
The text was updated successfully, but these errors were encountered: