Add a Bazel build config for TensorPipe (#37691)

Summary:
See https://github.com/pytorch/pytorch/pull/37671 for the CI signals once the TensorPipe RPC agent is added.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/37691

Reviewed By: malfet

Differential Revision: D21359470

Pulled By: lw

fbshipit-source-id: 577dd6d73a4a11d67b50d8686628dc6d8b24201d
diff --git a/WORKSPACE b/WORKSPACE
index 84e9956..6f5028d 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -129,6 +129,12 @@
     path = "third_party/tbb",
 )
 
+new_local_repository(
+    name = "tensorpipe",
+    build_file = "//third_party:tensorpipe.BUILD",
+    path = "third_party/tensorpipe",
+)
+
 http_archive(
     name = "mkl",
     build_file = "//third_party:mkl.BUILD",