blob: 56279d47f410a003b8383bb58c34315044638573 [file] [log] [blame]
Abseil Team0e7afdc2019-08-19 10:27:18 -07001#
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
mistergc2e75482017-09-19 16:54:40 -040017workspace(name = "com_google_absl")
Abseil Teamd61843e2021-07-19 17:41:36 -070018
Ed Baunton1b783d92018-07-03 19:40:09 -040019load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
20
mistergc2e75482017-09-19 16:54:40 -040021# GoogleTest/GoogleMock framework. Used by most unit-tests.
22http_archive(
Derek Maurofdf5be12023-08-02 11:08:54 -070023 name = "com_google_googletest", # 2023-08-02T16:45:10Z
24 sha256 = "c4f675500e09da97fd5a2b9c3fdadf48de858a036db565d52e6835c96eeea147",
25 strip_prefix = "googletest-843976e4f582ccb76cf87e0f128585324335779b",
26 # Keep this URL in sync with ABSL_GOOGLETEST_COMMIT in ci/cmake_common.sh.
27 urls = ["https://github.com/google/googletest/archive/843976e4f582ccb76cf87e0f128585324335779b.zip"],
Derek Maurod2c52972022-06-16 18:45:50 -070028)
29
30# RE2 (the regular expression library used by GoogleTest)
Derek Maurod2c52972022-06-16 18:45:50 -070031http_archive(
Derek Maurofdf5be12023-08-02 11:08:54 -070032 name = "com_googlesource_code_re2", # 2023-03-17T11:36:51Z
33 sha256 = "cb8b5312a65f2598954545a76e8bce913f35fbb3a21a5c88797a4448e9f9b9d9",
34 strip_prefix = "re2-578843a516fd1da7084ae46209a75f3613b6065e",
35 urls = ["https://github.com/google/re2/archive/578843a516fd1da7084ae46209a75f3613b6065e.zip"],
mistergc2e75482017-09-19 16:54:40 -040036)
37
Abseil Team26b789f2018-05-04 09:58:56 -070038# Google benchmark.
39http_archive(
Derek Maurofdf5be12023-08-02 11:08:54 -070040 name = "com_github_google_benchmark", # 2023-08-01T07:47:09Z
41 sha256 = "db1e39ee71dc38aa7e57ed007f2c8b3bb59e13656435974781a9dc0617d75cc9",
42 strip_prefix = "benchmark-02a354f3f323ae8256948e1dc77ddcb1dfc297da",
43 urls = ["https://github.com/google/benchmark/archive/02a354f3f323ae8256948e1dc77ddcb1dfc297da.zip"],
Abseil Team26b789f2018-05-04 09:58:56 -070044)
Yannic36910d32019-08-16 14:38:13 +000045
Abseil Teameb3db082022-03-23 13:25:43 -070046# Bazel Skylib.
47http_archive(
Derek Maurofdf5be12023-08-02 11:08:54 -070048 name = "bazel_skylib", # 2023-05-31T19:24:07Z
49 sha256 = "08c0386f45821ce246bbbf77503c973246ed6ee5c3463e41efc197fa9bc3a7f4",
50 strip_prefix = "bazel-skylib-288731ef9f7f688932bd50e704a91a45ec185f9b",
51 urls = ["https://github.com/bazelbuild/bazel-skylib/archive/288731ef9f7f688932bd50e704a91a45ec185f9b.zip"],
Abseil Teameb3db082022-03-23 13:25:43 -070052)
53
Abseil Team89102972021-08-13 10:38:41 -070054# Bazel platform rules.
55http_archive(
Derek Maurofdf5be12023-08-02 11:08:54 -070056 name = "platforms", # 2023-07-28T19:44:27Z
57 sha256 = "40eb313613ff00a5c03eed20aba58890046f4d38dec7344f00bb9a8867853526",
58 strip_prefix = "platforms-4ad40ef271da8176d4fc0194d2089b8a76e19d7b",
59 urls = ["https://github.com/bazelbuild/platforms/archive/4ad40ef271da8176d4fc0194d2089b8a76e19d7b.zip"],
Abseil Team89102972021-08-13 10:38:41 -070060)