mirror of
https://github.com/google/benchmark.git
synced 2024-11-28 05:44:40 +00:00
eaafe694d2
* Add a bzlmod Python bindings build Uses the newly started `@nanobind_bazel` project to build nanobind extensions. This means that we can drop all in-tree custom build defs and build files for nanobind and the C++ Python headers. Additionally, the temporary WORKSPACE overwrite hack naturally goes away due to the WORKSPACE system being obsolete. * Bump ruff -> v0.3.1, change ruff settings The latest minor releases incurred some formatting and configuration changes, this commit rolls them out. --------- Co-authored-by: dominic <510002+dmah42@users.noreply.github.com>
25 lines
552 B
Python
25 lines
552 B
Python
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()
|