From cc7544e230f8943e52b779d7f1e4392fd30a0c1a Mon Sep 17 00:00:00 2001 From: Jordan Rupprecht Date: Tue, 5 Mar 2024 13:31:57 -0600 Subject: [PATCH] [benchmark] Delete WORKSPACE bzl files (#84013) As like 48d868493fa74025e7768afacdbbbd3ea9c82468, `WORKSPACE` is another bazel-specific file that is unused. LLVM's bazel configuration is entirely in `utils/bazel`. --- third-party/benchmark/WORKSPACE | 30 ------------------------------ third-party/update_benchmark.sh | 1 + 2 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 third-party/benchmark/WORKSPACE diff --git a/third-party/benchmark/WORKSPACE b/third-party/benchmark/WORKSPACE deleted file mode 100644 index 256207022597..000000000000 --- a/third-party/benchmark/WORKSPACE +++ /dev/null @@ -1,30 +0,0 @@ -workspace(name = "com_github_google_benchmark") - -load("//:bazel/benchmark_deps.bzl", "benchmark_deps") - -benchmark_deps() - -load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies") - -rules_foreign_cc_dependencies() - -load("@rules_python//python:repositories.bzl", "py_repositories") - -py_repositories() - -load("@rules_python//python:pip.bzl", "pip_parse") - -pip_parse( - name = "tools_pip_deps", - requirements_lock = "//tools:requirements.txt", -) - -load("@tools_pip_deps//:requirements.bzl", "install_deps") - -install_deps() - -new_local_repository( - name = "python_headers", - build_file = "@//bindings/python:python_headers.BUILD", - path = "", # May be overwritten by setup.py. -) diff --git a/third-party/update_benchmark.sh b/third-party/update_benchmark.sh index cda0bcfb1a7a..047efd945a86 100755 --- a/third-party/update_benchmark.sh +++ b/third-party/update_benchmark.sh @@ -13,4 +13,5 @@ git clone https://github.com/google/benchmark.git rm -rf benchmark/.git* find benchmark/ -name BUILD -delete find benchmark/ -name BUILD.bazel -delete +find benchmark/ -name WORKSPACE -delete