summaryrefslogtreecommitdiffhomepage
path: root/benchmarks/BUILD
blob: 2a2d15d7ee5b82d1344fa0cdaa2edcda80266b69 (plain)
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
package(licenses = ["notice"])

config_setting(
    name = "gcloud_rule",
    values = {
        "define": "gcloud=off",
    },
)

py_binary(
    name = "benchmarks",
    srcs = ["run.py"],
    data = select({
        ":gcloud_rule": [],
        "//conditions:default": [
            "//tools/images:ubuntu1604",
            "//tools/images:zone",
        ],
    }),
    main = "run.py",
    python_version = "PY3",
    srcs_version = "PY3",
    tags = [
        "local",
        "manual",
    ],
    deps = ["//benchmarks/runner"],
)