• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1workspace(name = "com_github_google_benchmark")
2
3load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
4load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
5
6http_archive(
7    name = "com_google_absl",
8    sha256 = "f41868f7a938605c92936230081175d1eae87f6ea2c248f41077c8f88316f111",
9    strip_prefix = "abseil-cpp-20200225.2",
10    urls = ["https://github.com/abseil/abseil-cpp/archive/20200225.2.tar.gz"],
11)
12
13git_repository(
14    name = "com_google_googletest",
15    remote = "https://github.com/google/googletest.git",
16    tag = "release-1.11.0",
17)
18
19http_archive(
20    name = "pybind11",
21    build_file = "@//bindings/python:pybind11.BUILD",
22    sha256 = "1eed57bc6863190e35637290f97a20c81cfe4d9090ac0a24f3bbf08f265eb71d",
23    strip_prefix = "pybind11-2.4.3",
24    urls = ["https://github.com/pybind/pybind11/archive/v2.4.3.tar.gz"],
25)
26
27new_local_repository(
28    name = "python_headers",
29    build_file = "@//bindings/python:python_headers.BUILD",
30    path = "/usr/include/python3.6",  # May be overwritten by setup.py.
31)
32
33http_archive(
34    name = "rules_python",
35    url = "https://github.com/bazelbuild/rules_python/releases/download/0.1.0/rules_python-0.1.0.tar.gz",
36    sha256 = "b6d46438523a3ec0f3cead544190ee13223a52f6a6765a29eae7b7cc24cc83a0",
37)
38
39load("@rules_python//python:pip.bzl", pip3_install="pip_install")
40
41pip3_install(
42   name = "py_deps",
43   requirements = "//:requirements.txt",
44)
45