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

Add use_default_shell_env = True to ctx.actions.run #344

Closed
wants to merge 1 commit into from

Conversation

Flamefire
Copy link
Contributor

When building a tool in a non-standard environment (e.g. custom compiler path -> LD_LIBRARY_PATH set) then use_default_shell_env = True is required to run that tool in the same environment or otherwise the build will fail due to missing symbols.
See jax-ml/jax#7842 for this issue and tensorflow/tensorflow#44549 for related fix in TF

When building a tool in a non-standard environment (e.g. custom compiler path -> LD_LIBRARY_PATH set) then `use_default_shell_env = True` is required to run that tool in the same environment or otherwise the build will fail due to missing symbols.
See jax-ml/jax#7842 for this issue and tensorflow/tensorflow#44549 for related fix in TF
@repo-lockdown
Copy link

repo-lockdown bot commented Sep 16, 2021

This repository does not accept pull requests. Please follow http://llvm.org/docs/Contributing.html#how-to-submit-a-patch for contribution to LLVM.

@repo-lockdown repo-lockdown bot closed this Sep 16, 2021
@repo-lockdown repo-lockdown bot locked and limited conversation to collaborators Sep 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant