-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathWORKSPACE
91 lines (70 loc) · 2.62 KB
/
WORKSPACE
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
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "bazel_skylib",
sha256 = "97e70364e9249702246c0e9444bccdc4b847bed1eb03c5a3ece4f83dfe6abc44",
urls = [
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz",
],
)
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
bazel_skylib_workspace()
load("@bazel_skylib//lib:versions.bzl", "versions")
versions.check(minimum_bazel_version = "4.0.0")
http_archive(
name = "rules_pkg",
sha256 = "353b20e8b093d42dd16889c7f918750fb8701c485ac6cceb69a5236500507c27",
urls = [
"https://github.com/bazelbuild/rules_pkg/releases/download/0.5.0/rules_pkg-0.5.0.tar.gz",
],
)
http_archive(
name = "rules_cc",
sha256 = "b6f34b3261ec02f85dbc5a8bdc9414ce548e1f5f67e000d7069571799cb88b25",
strip_prefix = "rules_cc-726dd8157557f1456b3656e26ab21a1646653405",
urls = [
"https://github.com/bazelbuild/rules_cc/archive/726dd8157557f1456b3656e26ab21a1646653405.tar.gz",
],
)
http_archive(
name = "com_grail_bazel_toolchain",
sha256 = "da607faed78c4cb5a5637ef74a36fdd2286f85ca5192222c4664efec2d529bb8",
strip_prefix = "bazel-toolchain-0.6.3",
urls = [
"https://github.com/grailbio/bazel-toolchain/archive/refs/tags/0.6.3.tar.gz",
],
)
load("@com_grail_bazel_toolchain//toolchain:rules.bzl", "llvm_toolchain")
llvm_toolchain(
name = "llvm_toolchain",
llvm_version = "12.0.0",
)
load("@llvm_toolchain//:toolchains.bzl", "llvm_register_toolchains")
llvm_register_toolchains()
register_toolchains("//bazel/python:toolchain")
http_archive(
name = "rules_python",
sha256 = "43c007823228f88d6afe1580d00f349564c97e103309a234fa20a5a10a9ff85b",
strip_prefix = "rules_python-54d1cb35cd54318d59bf38e52df3e628c07d4bbc",
urls = [
"https://github.com/grailbio-external/rules_python/archive/54d1cb35cd54318d59bf38e52df3e628c07d4bbc.tar.gz",
],
)
http_archive(
name = "subpar",
patch_args = ["-p1"],
patches = [
"//bazel/python:subpar_compiler_cli.patch",
"//bazel/python:subpar_runtime_support.patch",
],
sha256 = "b80297a1b8d38027a86836dbadc22f55dc3ecad56728175381aa6330705ac10f",
strip_prefix = "subpar-2.0.0",
urls = [
"https://github.com/google/subpar/archive/2.0.0.tar.gz",
],
)
load("//third_party/python/cpython:cpython.bzl", cpython_repositories = "cpython")
cpython_repositories()
load("//third_party/zstd:zstd.bzl", zstd_repositories = "zstd")
zstd_repositories()
load("//bazel/python:repo.bzl", python_repositories = "repositories")
python_repositories()