Abseil Team | 0e7afdc | 2019-08-19 10:27:18 -0700 | [diff] [blame] | 1 | # |
| 2 | # Copyright 2019 The Abseil Authors. |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # https://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
| 16 | |
misterg | c2e7548 | 2017-09-19 16:54:40 -0400 | [diff] [blame] | 17 | workspace(name = "com_google_absl") |
Abseil Team | d61843e | 2021-07-19 17:41:36 -0700 | [diff] [blame] | 18 | |
Ed Baunton | 1b783d9 | 2018-07-03 19:40:09 -0400 | [diff] [blame] | 19 | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| 20 | |
misterg | c2e7548 | 2017-09-19 16:54:40 -0400 | [diff] [blame] | 21 | # GoogleTest/GoogleMock framework. Used by most unit-tests. |
| 22 | http_archive( |
Derek Mauro | 7795d08 | 2024-07-18 04:31:54 -0700 | [diff] [blame] | 23 | name = "com_google_googletest", |
| 24 | sha256 = "7315acb6bf10e99f332c8a43f00d5fbb1ee6ca48c52f6b936991b216c586aaad", |
| 25 | strip_prefix = "googletest-1.15.0", |
| 26 | # Keep this URL in sync with the version in ci/cmake_common.sh and |
| 27 | # ci/windows_msvc_cmake.bat. |
| 28 | urls = ["https://github.com/google/googletest/releases/download/v1.15.0/googletest-1.15.0.tar.gz"], |
Derek Mauro | d2c5297 | 2022-06-16 18:45:50 -0700 | [diff] [blame] | 29 | ) |
| 30 | |
| 31 | # RE2 (the regular expression library used by GoogleTest) |
Derek Mauro | d2c5297 | 2022-06-16 18:45:50 -0700 | [diff] [blame] | 32 | http_archive( |
Derek Mauro | 41a2a25 | 2024-01-11 15:58:39 -0800 | [diff] [blame] | 33 | name = "com_googlesource_code_re2", |
Derek Mauro | 7795d08 | 2024-07-18 04:31:54 -0700 | [diff] [blame] | 34 | sha256 = "eb2df807c781601c14a260a507a5bb4509be1ee626024cb45acbd57cb9d4032b", |
| 35 | strip_prefix = "re2-2024-07-02", |
| 36 | urls = ["https://github.com/google/re2/releases/download/2024-07-02/re2-2024-07-02.tar.gz"], |
| 37 | repo_mapping = {"@abseil-cpp": "@com_google_absl"}, |
misterg | c2e7548 | 2017-09-19 16:54:40 -0400 | [diff] [blame] | 38 | ) |
| 39 | |
Abseil Team | 26b789f | 2018-05-04 09:58:56 -0700 | [diff] [blame] | 40 | # Google benchmark. |
| 41 | http_archive( |
Derek Mauro | 41a2a25 | 2024-01-11 15:58:39 -0800 | [diff] [blame] | 42 | name = "com_github_google_benchmark", |
| 43 | sha256 = "6bc180a57d23d4d9515519f92b0c83d61b05b5bab188961f36ac7b06b0d9e9ce", |
| 44 | strip_prefix = "benchmark-1.8.3", |
| 45 | urls = ["https://github.com/google/benchmark/archive/refs/tags/v1.8.3.tar.gz"], |
Abseil Team | 26b789f | 2018-05-04 09:58:56 -0700 | [diff] [blame] | 46 | ) |
Yannic | 36910d3 | 2019-08-16 14:38:13 +0000 | [diff] [blame] | 47 | |
Abseil Team | eb3db08 | 2022-03-23 13:25:43 -0700 | [diff] [blame] | 48 | # Bazel Skylib. |
| 49 | http_archive( |
Derek Mauro | 7795d08 | 2024-07-18 04:31:54 -0700 | [diff] [blame] | 50 | name = "bazel_skylib", |
| 51 | sha256 = "cd55a062e763b9349921f0f5db8c3933288dc8ba4f76dd9416aac68acee3cb94", |
| 52 | urls = ["https://github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz"], |
Abseil Team | eb3db08 | 2022-03-23 13:25:43 -0700 | [diff] [blame] | 53 | ) |
| 54 | |
Abseil Team | 8910297 | 2021-08-13 10:38:41 -0700 | [diff] [blame] | 55 | # Bazel platform rules. |
| 56 | http_archive( |
Derek Mauro | 41a2a25 | 2024-01-11 15:58:39 -0800 | [diff] [blame] | 57 | name = "platforms", |
Derek Mauro | 7795d08 | 2024-07-18 04:31:54 -0700 | [diff] [blame] | 58 | urls = [ |
| 59 | "https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.10/platforms-0.0.10.tar.gz", |
| 60 | "https://github.com/bazelbuild/platforms/releases/download/0.0.10/platforms-0.0.10.tar.gz", |
| 61 | ], |
| 62 | sha256 = "218efe8ee736d26a3572663b374a253c012b716d8af0c07e842e82f238a0a7ee", |
Abseil Team | 8910297 | 2021-08-13 10:38:41 -0700 | [diff] [blame] | 63 | ) |