-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathmercury.BUILD
43 lines (38 loc) · 925 Bytes
/
mercury.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
cc_library(
name = "mercury",
hdrs = glob(["**/*.h", "**/*.tcc"]),
strip_include_prefix = "include/",
includes = ["include/"],
visibility = ["//visibility:public"],
deps = [
":mercury_static",
":mercury_na_static",
":mercury_util_static",
# TODO(oserres) visibility issue : "@libfabric//:libfabric_static",
"@libfabric//:libfabric",
],
defines = [
"WITH_MERCURY",
],
linkopts = ["-lm","-lpthread"],
)
cc_import(
name = "mercury_static",
static_library = "lib/libmercury.a",
)
cc_import(
name = "mercury_hl_static",
static_library = "lib/libmercury_hl.a",
)
cc_import(
name = "mercury_util_static",
static_library = "lib/libmercury_util.a",
)
cc_import(
name = "mercury_na_static",
static_library = "lib/libna.a",
)
cc_import(
name = "mercury_mchecksum_static",
static_library = "lib/libmchecksum.a",
)