aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/mpi_collectives
diff options
context:
space:
mode:
authorGravatar Shanqing Cai <cais@google.com>2017-09-24 20:23:42 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-09-24 20:27:40 -0700
commit777b30be48081dc7864174f3dd2448b35c0e140e (patch)
tree0711cbfe3e9c28962113b56128b5e56b5e3117db /third_party/mpi_collectives
parentab3f20205f288c45f9ff3142357ce7dbbb4a0f16 (diff)
Internal changes
PiperOrigin-RevId: 169860974
Diffstat (limited to 'third_party/mpi_collectives')
-rw-r--r--third_party/mpi_collectives/BUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/third_party/mpi_collectives/BUILD b/third_party/mpi_collectives/BUILD
new file mode 100644
index 0000000000..d5f9edb0b9
--- /dev/null
+++ b/third_party/mpi_collectives/BUILD
@@ -0,0 +1,29 @@
+package(default_visibility = ["//visibility:public"])
+
+licenses(["notice"]) # Apache 2.0
+
+exports_files(["LICENSE.txt"])
+
+filegroup(
+ name = "all_files",
+ srcs = glob(
+ ["**/*"],
+ exclude = [
+ "**/METADATA",
+ "**/OWNERS",
+ ],
+ ),
+ visibility = ["//tensorflow:__subpackages__"],
+)
+
+cc_library(
+ name = "mpi",
+ srcs = select({
+ "//tensorflow:darwin": ["libmpi.dylib"],
+ "//conditions:default": ["libmpi.so"],
+ }),
+ hdrs = [
+ "mpi.h",
+ "mpi_portable_platform",
+ ],
+)