diff options
author | kevin.xu <cming.xu@gmail.com> | 2020-04-27 21:51:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-27 21:51:31 +0800 |
commit | e896ca54db67524afc20b644d43c72185e72dc0e (patch) | |
tree | 2a16f3a62a5cafd098f1f028c621f1b655589d69 /benchmarks/BUILD | |
parent | 1f19624fa127d7d59cabe29593cc80b7fe6c81f8 (diff) | |
parent | 3c67754663f424f2ebbc0ff2a4c80e30618d5355 (diff) |
Merge pull request #1 from google/master
catch up
Diffstat (limited to 'benchmarks/BUILD')
-rw-r--r-- | benchmarks/BUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/benchmarks/BUILD b/benchmarks/BUILD new file mode 100644 index 000000000..ac44f479d --- /dev/null +++ b/benchmarks/BUILD @@ -0,0 +1,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/vm:ubuntu1604", + "//tools/vm:zone", + ], + }), + main = "run.py", + python_version = "PY3", + srcs_version = "PY3", + tags = [ + "local", + "manual", + ], + deps = ["//benchmarks/runner"], +) |