2018-03-08 20:48:46 +08:00
|
|
|
workspace(name = "com_github_google_benchmark")
|
|
|
|
|
2019-04-09 20:02:45 +08:00
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
|
2018-05-02 18:23:18 +08:00
|
|
|
http_archive(
|
2019-10-08 18:09:51 +08:00
|
|
|
name = "rules_cc",
|
|
|
|
strip_prefix = "rules_cc-a508235df92e71d537fcbae0c7c952ea6957a912",
|
|
|
|
urls = ["https://github.com/bazelbuild/rules_cc/archive/a508235df92e71d537fcbae0c7c952ea6957a912.zip"],
|
|
|
|
)
|
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "com_google_googletest",
|
|
|
|
strip_prefix = "googletest-3f0cf6b62ad1eb50d8736538363d3580dd640c3e",
|
|
|
|
urls = ["https://github.com/google/googletest/archive/3f0cf6b62ad1eb50d8736538363d3580dd640c3e.zip"],
|
2018-03-08 20:48:46 +08:00
|
|
|
)
|
2020-05-07 00:28:29 +08: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.
|
|
|
|
)
|
|
|
|
|