Commit 5dfbeab6 authored by Derek Murray's avatar Derek Murray Committed by drpngx
Browse files

[CMake] Fix the Python build with -Dtensorflow_ENABLE_GRPC_SUPPORT=OFF. (#7076)

The SWIG wrapper could not resolve the server-creation function, which
is unconditionally referenced in server_lib.i, but not built when gRPC
support is disabled. This change fixes the problem by building
server_lib.cc as part of tf_core_cpu, so it can always be resolved,
even when gRPC support is disabled.

Fixes #7019.
parent a12c7dc3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment