| diff --git a/BUILD.bazel b/BUILD.bazel |
| index 15d8369..768e9f3 100644 |
| --- a/BUILD.bazel |
| +++ b/BUILD.bazel |
| @@ -15,6 +15,7 @@ COPTS = [ |
| ## unused-variable warning. |
| "-Wno-unused-variable", |
| "-Werror=old-style-cast", |
| + "-Wno-format-nonliteral", |
| ] |
| |
| config_setting( |
| diff --git a/bindings/python/google_benchmark/BUILD b/bindings/python/google_benchmark/BUILD |
| deleted file mode 100644 |
| index 0c8e3c1..0000000 |
| --- a/bindings/python/google_benchmark/BUILD |
| +++ /dev/null |
| @@ -1,27 +0,0 @@ |
| -load("@nanobind_bazel//:build_defs.bzl", "nanobind_extension") |
| - |
| -py_library( |
| - name = "google_benchmark", |
| - srcs = ["__init__.py"], |
| - visibility = ["//visibility:public"], |
| - deps = [ |
| - ":_benchmark", |
| - ], |
| -) |
| - |
| -nanobind_extension( |
| - name = "_benchmark", |
| - srcs = ["benchmark.cc"], |
| - deps = ["//:benchmark"], |
| -) |
| - |
| -py_test( |
| - name = "example", |
| - srcs = ["example.py"], |
| - python_version = "PY3", |
| - srcs_version = "PY3", |
| - visibility = ["//visibility:public"], |
| - deps = [ |
| - ":google_benchmark", |
| - ], |
| -) |
| diff --git a/test/BUILD b/test/BUILD |
| index b245fa7..86f5d29 100644 |
| --- a/test/BUILD |
| +++ b/test/BUILD |
| @@ -22,6 +22,9 @@ TEST_COPTS = [ |
| ## unused-variable warning. |
| "-Wno-unused-variable", |
| "-Werror=old-style-cast", |
| + "-Wno-unused-but-set-variable", |
| + "-Wno-unused-function", |
| + "-Wno-unused-parameter", |
| ] |
| |
| # Some of the issues with DoNotOptimize only occur when optimization is enabled |
| diff --git a/tools/BUILD.bazel b/tools/BUILD.bazel |
| deleted file mode 100644 |
| index 8ef6a86..0000000 |
| --- a/tools/BUILD.bazel |
| +++ /dev/null |
| @@ -1,20 +0,0 @@ |
| -load("@tools_pip_deps//:requirements.bzl", "requirement") |
| - |
| -py_library( |
| - name = "gbench", |
| - srcs = glob(["gbench/*.py"]), |
| - deps = [ |
| - requirement("numpy"), |
| - requirement("scipy"), |
| - ], |
| -) |
| - |
| -py_binary( |
| - name = "compare", |
| - srcs = ["compare.py"], |
| - imports = ["."], |
| - python_version = "PY3", |
| - deps = [ |
| - ":gbench", |
| - ], |
| -) |