2018-03-08 12:48:46 +00:00
|
|
|
workspace(name = "com_github_google_benchmark")
|
|
|
|
|
2019-04-09 12:02:45 +00:00
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
2021-12-08 16:30:03 +00:00
|
|
|
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
|
2019-04-09 12:02:45 +00:00
|
|
|
|
2022-02-24 14:42:59 +00:00
|
|
|
http_archive(
|
|
|
|
name = "platforms",
|
|
|
|
sha256 = "379113459b0feaf6bfbb584a91874c065078aa673222846ac765f86661c27407",
|
|
|
|
urls = [
|
|
|
|
"https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.5/platforms-0.0.5.tar.gz",
|
|
|
|
"https://github.com/bazelbuild/platforms/releases/download/0.0.5/platforms-0.0.5.tar.gz",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2020-06-08 14:21:52 +00:00
|
|
|
http_archive(
|
|
|
|
name = "com_google_absl",
|
|
|
|
sha256 = "f41868f7a938605c92936230081175d1eae87f6ea2c248f41077c8f88316f111",
|
|
|
|
strip_prefix = "abseil-cpp-20200225.2",
|
|
|
|
urls = ["https://github.com/abseil/abseil-cpp/archive/20200225.2.tar.gz"],
|
|
|
|
)
|
|
|
|
|
2021-12-08 16:30:03 +00:00
|
|
|
git_repository(
|
2019-10-08 10:09:51 +00:00
|
|
|
name = "com_google_googletest",
|
2021-12-08 16:30:03 +00:00
|
|
|
remote = "https://github.com/google/googletest.git",
|
|
|
|
tag = "release-1.11.0",
|
2018-03-08 12:48:46 +00:00
|
|
|
)
|
2020-05-06 16:28:29 +00:00
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "pybind11",
|
|
|
|
build_file = "@//bindings/python:pybind11.BUILD",
|
|
|
|
sha256 = "1eed57bc6863190e35637290f97a20c81cfe4d9090ac0a24f3bbf08f265eb71d",
|
|
|
|
strip_prefix = "pybind11-2.4.3",
|
|
|
|
urls = ["https://github.com/pybind/pybind11/archive/v2.4.3.tar.gz"],
|
|
|
|
)
|
|
|
|
|
|
|
|
new_local_repository(
|
|
|
|
name = "python_headers",
|
|
|
|
build_file = "@//bindings/python:python_headers.BUILD",
|
|
|
|
path = "/usr/include/python3.6", # May be overwritten by setup.py.
|
|
|
|
)
|
2020-11-06 09:10:04 +00:00
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "rules_python",
|
|
|
|
url = "https://github.com/bazelbuild/rules_python/releases/download/0.1.0/rules_python-0.1.0.tar.gz",
|
|
|
|
sha256 = "b6d46438523a3ec0f3cead544190ee13223a52f6a6765a29eae7b7cc24cc83a0",
|
|
|
|
)
|
|
|
|
|
|
|
|
load("@rules_python//python:pip.bzl", pip3_install="pip_install")
|
|
|
|
|
|
|
|
pip3_install(
|
|
|
|
name = "py_deps",
|
|
|
|
requirements = "//:requirements.txt",
|
|
|
|
)
|