summaryrefslogtreecommitdiff
path: root/third-party/benchmark/tools/BUILD.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'third-party/benchmark/tools/BUILD.bazel')
-rw-r--r--third-party/benchmark/tools/BUILD.bazel19
1 files changed, 19 insertions, 0 deletions
diff --git a/third-party/benchmark/tools/BUILD.bazel b/third-party/benchmark/tools/BUILD.bazel
new file mode 100644
index 000000000000..5895883a2eb3
--- /dev/null
+++ b/third-party/benchmark/tools/BUILD.bazel
@@ -0,0 +1,19 @@
+load("@py_deps//:requirements.bzl", "requirement")
+
+py_library(
+ name = "gbench",
+ srcs = glob(["gbench/*.py"]),
+ deps = [
+ requirement("numpy"),
+ requirement("scipy"),
+ ],
+)
+
+py_binary(
+ name = "compare",
+ srcs = ["compare.py"],
+ python_version = "PY2",
+ deps = [
+ ":gbench",
+ ],
+)