-
Notifications
You must be signed in to change notification settings - Fork 289
/
BUILD
119 lines (111 loc) · 3.32 KB
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
package(default_visibility = ["//visibility:public"])
load(
"//:tools/build/tensorflow_io.bzl",
"tf_io_copts",
)
cc_binary(
name = "python/ops/libtensorflow_io.so",
copts = tf_io_copts(),
linkopts = select({
"@bazel_tools//src/conditions:darwin": [
"-lresolv",
],
"//conditions:default": [],
}),
linkshared = 1,
deps = [
"//tensorflow_io/core:arrow_ops",
"//tensorflow_io/core:bigquery_ops",
"//tensorflow_io/core:bigtable_ops",
"//tensorflow_io/core:avro_ops",
"//tensorflow_io/core:avro_atds",
"//tensorflow_io/core:orc_ops",
"//tensorflow_io/core:cpuinfo",
"//tensorflow_io/core:file_ops",
"//tensorflow_io/core:filesystem_ops",
"//tensorflow_io/core:grpc_ops",
"//tensorflow_io/core:hdf5_ops",
"//tensorflow_io/core:image_ops",
"//tensorflow_io/core:json_ops",
"//tensorflow_io/core:kafka_ops",
"//tensorflow_io/core:kinesis_ops",
"//tensorflow_io/core:lmdb_ops",
"//tensorflow_io/core:numpy_ops",
"//tensorflow_io/core:parquet_ops",
"//tensorflow_io/core:pcap_ops",
"//tensorflow_io/core:pulsar_ops",
"//tensorflow_io/core:obj_ops",
"//tensorflow_io/core:operation_ops",
"//tensorflow_io/core:pubsub_ops",
"//tensorflow_io/core:serialization_ops",
"//tensorflow_io/core:sql_ops",
"//tensorflow_io/core:text_ops",
"//tensorflow_io/core:mongodb_ops",
"@local_config_tf//:libtensorflow_framework",
"@local_config_tf//:tf_header_lib",
] + select({
"@bazel_tools//src/conditions:windows": [],
"@bazel_tools//src/conditions:darwin_arm64": [],
"//conditions:default": [
"//tensorflow_io/core:audio_video_ops",
"//tensorflow_io/core:core_ops",
"//tensorflow_io/core:elasticsearch_ops",
"//tensorflow_io/core:optimization",
"//tensorflow_io/core/kernels/gsmemcachedfs:gs_memcached_file_system",
],
}) + select({
"//tensorflow_io/core:static_build_on": [
"//tensorflow_io/core/filesystems:filesystem_plugins",
],
"//conditions:default": [],
}),
)
cc_binary(
name = "python/ops/libtensorflow_io_plugins.so",
copts = tf_io_copts(),
linkshared = 1,
deps = select({
"//tensorflow_io/core:static_build_on": [],
"//conditions:default": [
"//tensorflow_io/core/filesystems:filesystem_plugins",
],
}),
)
cc_binary(
name = "python/ops/libtensorflow_io_golang.so",
copts = tf_io_copts(),
linkshared = 1,
deps = [
"//tensorflow_io/core:prometheus_ops",
],
)
cc_binary(
name = "python/ops/libtensorflow_io_ffmpeg_4.2.so",
copts = tf_io_copts(),
linkshared = 1,
deps = [
"//tensorflow_io/core:ffmpeg_4.2_ops",
],
)
cc_binary(
name = "python/ops/libtensorflow_io_ffmpeg_3.4.so",
copts = tf_io_copts(),
linkshared = 1,
deps = [
"//tensorflow_io/core:ffmpeg_3.4_ops",
],
)
cc_binary(
name = "python/ops/libtensorflow_io_ffmpeg_2.8.so",
copts = tf_io_copts(),
linkshared = 1,
deps = [
"//tensorflow_io/core:ffmpeg_2.8_ops",
],
)
py_library(
name = "init",
srcs = [
"__init__.py",
],
)