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

Do not inherit env vars from the caller environment #17

Merged

Conversation

lpawelcz
Copy link
Contributor

@lpawelcz lpawelcz commented Mar 19, 2024

This PR adds .bazelrc configuration file with an option that prevents bazel from inheriting environment variables from the environment of the bazel caller.
This fixes cache invalidation when environment variable like e.g. PATH changes.

CC @oharboe

Signed-off-by: Pawel Czarnecki <[email protected]>
@oharboe oharboe merged commit 896154c into The-OpenROAD-Project:main Mar 19, 2024
5 checks passed
@lpawelcz lpawelcz deleted the fix-env-var-cache-invalidation branch March 19, 2024 08:37
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

Successfully merging this pull request may close these issues.

2 participants