dropbox / dbx_build_tools

Dropbox's Bazel rules and tools
Other
208 stars 36 forks source link

action_env not propagated to pypi build actions #22

Open jsharpe opened 3 years ago

jsharpe commented 3 years ago

It seems that action_env isn't included in ctx.configuration.default_shell_env as per the issue detailed here https://github.com/bazelbuild/bazel/issues/12049. This means that we can't propagate e.g. LIBRARY_PATH or LD_LIBRARY_PATH which is needed to support some mpi compiler wrappers e.g. with Intel MPI when compiling mpi4py.