forked from google/dimsum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.bazel
61 lines (54 loc) · 1007 Bytes
/
BUILD.bazel
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
package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # Apache 2.0
exports_files(["LICENSE"])
cc_library(
name = "dimsum",
hdrs = [
"dimsum.h",
"index_sequence.h",
"types.h",
"operations.h",
"simd",
"simd_avx.h",
"simd_neon.h",
"simd_sse.h",
"simd_vsx.h",
"simulated.h",
"port.h",
],
)
cc_library(
name = "x86",
hdrs = [
"dimsum_x86.h",
],
deps = [
"dimsum",
],
)
cc_test(
name = "dimsum_test",
srcs = ["dimsum_test.cc"],
deps = [
":dimsum",
"@com_google_googletest//:gtest_main",
],
)
cc_test(
name = "dimsum_x86_test",
srcs = ["dimsum_x86_test.cc"],
deps = [
":dimsum",
":x86",
"@com_google_googletest//:gtest_main",
],
)
cc_library(
name = "dimsum_fuzz",
srcs = ["dimsum_fuzz.cc"],
deps = [
":dimsum",
":x86",
],
alwayslink = 1,
)