Commit Graph

2 Commits

Author SHA1 Message Date
TensorFlower Gardener
bf581d89b6 Merge pull request from perfinion:r2.4-syslibs
PiperOrigin-RevId: 339899776
Change-Id: Iff5a37227f189607727f3e24d75b41ee8b906af9
2020-10-30 10:59:32 -07:00
Jason Zaman
e6e4c60700 systemlibs: Update to build against system GRPC
- Add libgpr
    Newer grpc-1.28 has a libgpr.so that is also needed during link time
    so add it to the linkopts
- Add starlark files
    Several starlark files are load()'d from the GRPC repo, vendor them
    or add stubs as appropriate when using the system version of grpc.
- grpc WORKSPACE deps
    Several deps were loaded in WORKSPACE that were needed by grpc, they
    are not needed when building against the system but are difficult to
    stub out causing the build to fail.
    grpc_extra_deps.bzl is provided to load all the requirements, so use
    that from WORKSPACE instead of directly loading each individually.
    This is also more maintainable going forward since there is less to
    keep in sync in TF's WORKSPACE file.

Signed-off-by: Jason Zaman <jason@perfinion.com>
2020-10-21 21:14:24 -07:00