-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathWORKSPACE
More file actions
76 lines (65 loc) · 2 KB
/
Copy pathWORKSPACE
File metadata and controls
76 lines (65 loc) · 2 KB
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
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
release = "1.13.0"
http_archive(
name = "googletest",
urls = ["https://github.com/google/googletest/archive/refs/tags/v" + release + ".tar.gz"],
strip_prefix = "googletest-" + release,
)
http_file(
name = "cpplint_build",
urls = ["https://raw.githubusercontent.com/nicmcd/pkgbuild/master/cpplint.BUILD"],
)
release = "1.5.4"
http_archive(
name = "cpplint",
urls = ["https://github.com/cpplint/cpplint/archive/" + release + ".tar.gz"],
strip_prefix = "cpplint-" + release,
build_file = "@cpplint_build//file:downloaded",
)
http_file(
name = "clang_format",
urls = ["https://raw.githubusercontent.com/nicmcd/pkgbuild/master/clang-format"],
)
http_file(
name = "numa_build",
urls = ["https://raw.githubusercontent.com/nicmcd/pkgbuild/master/numa.BUILD"],
)
http_file(
name = "numa_patch",
urls = ["https://raw.githubusercontent.com/nicmcd/pkgbuild/master/numactl_v2.0.14.patch"],
)
release = "2.0.14"
http_archive(
name = "numactl",
urls = ["https://github.com/numactl/numactl/archive/refs/tags/v" + release + ".tar.gz"],
strip_prefix = "numactl-" + release,
build_file = "@numa_build//file:downloaded",
patches = ["@numa_patch//file:downloaded"],
patch_args = ["-p1"],
patch_cmds = ["./autogen.sh", "./configure"],
)
http_file(
name = "zlib_build",
urls = ["https://raw.githubusercontent.com/nicmcd/pkgbuild/master/zlib.BUILD"],
)
version = "1.2.13"
http_archive(
name = "zlib",
urls = ["https://www.zlib.net/zlib-" + version + ".tar.gz"],
strip_prefix = "zlib-" + version,
build_file = "@zlib_build//file:downloaded",
)
hash = "068f9ce"
http_archive(
name = "libprim",
urls = ["https://github.com/nicmcd/libprim/tarball/" + hash],
type = "tar.gz",
strip_prefix = "nicmcd-libprim-" + hash,
)
hash = "b585396"
http_archive(
name = "librnd",
urls = ["https://github.com/nicmcd/librnd/tarball/" + hash],
type = "tar.gz",
strip_prefix = "nicmcd-librnd-" + hash,
)