jmillikin-stripe | a9beffd | 2018-03-08 04:48:46 -0800 | [diff] [blame] | 1 | workspace(name = "com_github_google_benchmark") |
| 2 | |
Dominic Hamon | c5b2fe9 | 2019-04-09 13:02:45 +0100 | [diff] [blame] | 3 | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| 4 | |
Alex Strelnikov | 62a9d75 | 2018-05-02 06:23:18 -0400 | [diff] [blame] | 5 | http_archive( |
Paul Wankadia | 309de59 | 2019-10-08 21:09:51 +1100 | [diff] [blame] | 6 | name = "rules_cc", |
| 7 | strip_prefix = "rules_cc-a508235df92e71d537fcbae0c7c952ea6957a912", |
| 8 | urls = ["https://github.com/bazelbuild/rules_cc/archive/a508235df92e71d537fcbae0c7c952ea6957a912.zip"], |
Dominic Hamon | bf585a2 | 2020-11-26 11:13:23 +0000 | [diff] [blame] | 9 | sha256 = "d7dc12c1d5bc1a87474de8e3d17b7731a4dcebcfb8aa3990fe8ac7734ef12f2f", |
Paul Wankadia | 309de59 | 2019-10-08 21:09:51 +1100 | [diff] [blame] | 10 | ) |
| 11 | |
| 12 | http_archive( |
Dominic Hamon | 74b4612 | 2020-06-08 15:21:52 +0100 | [diff] [blame] | 13 | name = "com_google_absl", |
| 14 | sha256 = "f41868f7a938605c92936230081175d1eae87f6ea2c248f41077c8f88316f111", |
| 15 | strip_prefix = "abseil-cpp-20200225.2", |
| 16 | urls = ["https://github.com/abseil/abseil-cpp/archive/20200225.2.tar.gz"], |
| 17 | ) |
| 18 | |
| 19 | http_archive( |
Paul Wankadia | 309de59 | 2019-10-08 21:09:51 +1100 | [diff] [blame] | 20 | name = "com_google_googletest", |
| 21 | strip_prefix = "googletest-3f0cf6b62ad1eb50d8736538363d3580dd640c3e", |
| 22 | urls = ["https://github.com/google/googletest/archive/3f0cf6b62ad1eb50d8736538363d3580dd640c3e.zip"], |
Dominic Hamon | bf585a2 | 2020-11-26 11:13:23 +0000 | [diff] [blame] | 23 | sha256 = "8f827dd550db8b4fdf73904690df0be9fccc161017c9038a724bc9a0617a1bc8", |
jmillikin-stripe | a9beffd | 2018-03-08 04:48:46 -0800 | [diff] [blame] | 24 | ) |
Chris Jones | d3ad0b9 | 2020-05-06 17:28:29 +0100 | [diff] [blame] | 25 | |
| 26 | http_archive( |
| 27 | name = "pybind11", |
| 28 | build_file = "@//bindings/python:pybind11.BUILD", |
| 29 | sha256 = "1eed57bc6863190e35637290f97a20c81cfe4d9090ac0a24f3bbf08f265eb71d", |
| 30 | strip_prefix = "pybind11-2.4.3", |
| 31 | urls = ["https://github.com/pybind/pybind11/archive/v2.4.3.tar.gz"], |
| 32 | ) |
| 33 | |
| 34 | new_local_repository( |
| 35 | name = "python_headers", |
| 36 | build_file = "@//bindings/python:python_headers.BUILD", |
| 37 | path = "/usr/include/python3.6", # May be overwritten by setup.py. |
| 38 | ) |
Alexander | 348aa2c | 2020-11-06 12:10:04 +0300 | [diff] [blame] | 39 | |
| 40 | http_archive( |
| 41 | name = "rules_python", |
| 42 | url = "https://github.com/bazelbuild/rules_python/releases/download/0.1.0/rules_python-0.1.0.tar.gz", |
| 43 | sha256 = "b6d46438523a3ec0f3cead544190ee13223a52f6a6765a29eae7b7cc24cc83a0", |
| 44 | ) |
| 45 | |
| 46 | load("@rules_python//python:pip.bzl", pip3_install="pip_install") |
| 47 | |
| 48 | pip3_install( |
| 49 | name = "py_deps", |
| 50 | requirements = "//:requirements.txt", |
| 51 | ) |