-
Notifications
You must be signed in to change notification settings - Fork 1
/
WORKSPACE
49 lines (41 loc) · 1.39 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
##
# Bazel rules from Brezel
##
local_repository(
name = "brezel",
path = "./third_party/brezel"
)
load("@brezel//rules:defaults.bzl", project_defaults="brezel_defaults")
project_defaults(
gcp_project = "my-gcp-project",
gcp_cluster = "my-gcp-cluster",
gcp_bucket = "gs://my-gcp-bucket",
gcp_registry = "gcr.io/my-gcp-registry",
srcs=["@brezel//config/infra/vars:gke.bzl"],
)
load("@brezel//third_party:deps.bzl", brzl_ext_libs="third_party_repositories")
brzl_ext_libs()
load("@brezel//third_party:rules.bzl", brzl_rules="rule_repositories")
brzl_rules()
load("@brezel//third_party:rules_deps.bzl", brzl_deps="all_indirect_repositories")
brzl_deps()
load("@brezel//third_party/toolchains:prepare_toolchains.bzl", brzl_prepare="prepare_all_toolchains")
brzl_prepare()
load("@brezel//third_party/toolchains:toolchains.bzl", brzl_toolchains="setup_all_toolchains")
brzl_toolchains()
##
# Project specific rules
##
load("@rules_python_external//:defs.bzl", "pip_install")
pip_install(
name = "python3_project_deps",
requirements = "//third_party/pip:requirements.txt",
)
load("@io_bazel_rules_docker//container:container.bzl", "container_pull")
container_pull(
name = "cuda10",
registry = "index.docker.io",
repository = "nvidia/cuda",
tag = "10.0-cudnn7-devel-ubuntu18.04",
digest = "sha256:052257d3010944b78d0e82ed468f39bf28c0fffcf1e14e64c340242b3ad8bbc4"
)