1workspace(name = "com_github_google_benchmark") 2 3load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") 4 5http_archive( 6 name = "rules_cc", 7 strip_prefix = "rules_cc-a508235df92e71d537fcbae0c7c952ea6957a912", 8 urls = ["https://github.com/bazelbuild/rules_cc/archive/a508235df92e71d537fcbae0c7c952ea6957a912.zip"], 9) 10 11http_archive( 12 name = "com_google_absl", 13 sha256 = "f41868f7a938605c92936230081175d1eae87f6ea2c248f41077c8f88316f111", 14 strip_prefix = "abseil-cpp-20200225.2", 15 urls = ["https://github.com/abseil/abseil-cpp/archive/20200225.2.tar.gz"], 16) 17 18http_archive( 19 name = "com_google_googletest", 20 strip_prefix = "googletest-3f0cf6b62ad1eb50d8736538363d3580dd640c3e", 21 urls = ["https://github.com/google/googletest/archive/3f0cf6b62ad1eb50d8736538363d3580dd640c3e.zip"], 22) 23 24http_archive( 25 name = "pybind11", 26 build_file = "@//bindings/python:pybind11.BUILD", 27 sha256 = "1eed57bc6863190e35637290f97a20c81cfe4d9090ac0a24f3bbf08f265eb71d", 28 strip_prefix = "pybind11-2.4.3", 29 urls = ["https://github.com/pybind/pybind11/archive/v2.4.3.tar.gz"], 30) 31 32new_local_repository( 33 name = "python_headers", 34 build_file = "@//bindings/python:python_headers.BUILD", 35 path = "/usr/include/python3.6", # May be overwritten by setup.py. 36) 37