aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/mpi_collectives
diff options
context:
space:
mode:
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",
+ ],
+)