Files
tensorflow/third_party/flatbuffers
Alexander Grund 6a23f007b8 Add use_default_shell_env = True to all ctx.actions.run_shell rules
To compile flatbuffers definition Bazel starts the  flatbuffers compiler
flatc which is potentially built using a custom
toolchain and hence requires a set up LD_LIBRARY_PATH.
Ommitting the `use_default_shell_env` (defaulting to false) clears the
whole environment and the binary may try to use older system libs such
as /lib64/libstdc++.so causing it to fail in case it is (much) older
than the used libstdc++ from the custom toolchain which is very common
in HPC environments.
Hence I added `use_default_shell_env = True` as already done in e.g.
`_local_genrule_impl`.
2021-08-30 11:24:01 +02:00
..