blob: 99e3e2f3a0d0bfdf4208fac691d917b6772ad4b4 [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 Mauro7795d082024-07-18 04:31:54 -070023 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 Maurod2c52972022-06-16 18:45:50 -070029)
30
31# RE2 (the regular expression library used by GoogleTest)
Derek Maurod2c52972022-06-16 18:45:50 -070032http_archive(
Derek Mauro41a2a252024-01-11 15:58:39 -080033 name = "com_googlesource_code_re2",
Derek Mauro7795d082024-07-18 04:31:54 -070034 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"},
mistergc2e75482017-09-19 16:54:40 -040038)
39
Abseil Team26b789f2018-05-04 09:58:56 -070040# Google benchmark.
41http_archive(
Derek Mauro41a2a252024-01-11 15:58:39 -080042 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 Team26b789f2018-05-04 09:58:56 -070046)
Yannic36910d32019-08-16 14:38:13 +000047
Abseil Teameb3db082022-03-23 13:25:43 -070048# Bazel Skylib.
49http_archive(
Derek Mauro7795d082024-07-18 04:31:54 -070050 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 Teameb3db082022-03-23 13:25:43 -070053)
54
Abseil Team89102972021-08-13 10:38:41 -070055# Bazel platform rules.
56http_archive(
Derek Mauro41a2a252024-01-11 15:58:39 -080057 name = "platforms",
Derek Mauro7795d082024-07-18 04:31:54 -070058 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 Team89102972021-08-13 10:38:41 -070063)