forked from bytedance/monolith
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD
111 lines (99 loc) · 2.47 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
load("@com_google_protobuf//:protobuf.bzl", "cc_proto_library")
load("@com_google_protobuf//:protobuf.bzl", "py_proto_library")
load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test")
load("@rules_proto//proto:defs.bzl", "proto_library")
proto_library(
name = "proto_parser_proto",
srcs = [
"matrix/proto/feature.proto",
"matrix/proto/line_id.proto",
"matrix/proto/proto_parser.proto",
],
visibility = ["//visibility:public"],
)
cc_proto_library(
name = "line_id_cc_proto",
srcs = [
"matrix/proto/line_id.proto",
],
visibility = ["//visibility:public"],
)
py_proto_library(
name = "line_id_py_proto",
srcs = [
"matrix/proto/line_id.proto",
],
visibility = ["//visibility:public"],
)
cc_proto_library(
name = "proto_parser_cc_proto",
srcs = [
"matrix/proto/feature.proto",
"matrix/proto/proto_parser.proto",
],
visibility = ["//visibility:public"],
deps = [
":line_id_cc_proto",
],
)
py_proto_library(
name = "proto_parser_py_proto",
srcs = [
"matrix/proto/feature.proto",
"matrix/proto/proto_parser.proto",
],
visibility = ["//visibility:public"],
deps = [
":line_id_py_proto",
],
)
cc_library(
name = "compression_cc_float16",
hdrs = ["matrix/compression/float16.h"],
visibility = ["//visibility:public"],
deps = ["//third_party/half_sourceforge_net:half"],
)
cc_library(
name = "compression",
srcs = ["matrix/compression/compression.cc"],
hdrs = [
"matrix/compression/compression.h",
"matrix/compression/compression_qtz8mm.h",
],
visibility = ["//visibility:public"],
deps = [
":compression_cc_float16",
"@com_google_glog//:glog",
],
)
cc_library(
name = "compression_qtz8mm",
srcs = ["matrix/compression/compression_qtz8mm.cc"],
hdrs = ["matrix/compression/compression_qtz8mm.h"],
visibility = ["//visibility:public"],
deps = [
":compression",
":compression_cc_float16",
"@com_google_glog//:glog",
],
)
cc_proto_library(
name = "example_cc_proto",
srcs = [
"matrix/proto/example.proto",
],
visibility = ["//visibility:public"],
deps = [
":line_id_cc_proto",
],
)
py_proto_library(
name = "example_py_proto",
srcs = [
"matrix/proto/example.proto",
],
visibility = ["//visibility:public"],
deps = [
":line_id_py_proto",
],
)