Skip to content

Commit 955cb81

Browse files
committed
update to new versions
1 parent 078f547 commit 955cb81

File tree

4 files changed

+46
-150
lines changed

4 files changed

+46
-150
lines changed

.bazelrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
build --cxxopt=-std=c++17
2+
build --host_cxxopt=-std=c++17

.bazelversion

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6.3.2

WORKSPACE

Lines changed: 43 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,50 @@
1+
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
2+
13
# Bazel toolchains
4+
# http_archive(
5+
# name = "bazel_toolchains",
6+
# # sha256 =
7+
# strip_prefix = "bazel-toolchains-5.1.2",
8+
# urls = [
9+
# "https://github.com/bazelbuild/bazel-toolchains/archive/refs/tags/v5.1.2.tar.gz",
10+
# ],
11+
# )
12+
13+
# GoogleTest/GoogleMock framework. Used by most unit-tests.
214
http_archive(
3-
name = "bazel_toolchains",
4-
urls = [
5-
"https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/37acf1841ab1475c98a152cb9e446460c8ae29e1.tar.gz",
6-
"https://github.com/bazelbuild/bazel-toolchains/archive/37acf1841ab1475c98a152cb9e446460c8ae29e1.tar.gz",
7-
],
8-
strip_prefix = "bazel-toolchains-37acf1841ab1475c98a152cb9e446460c8ae29e1",
9-
sha256 = "3b604699685c5c65dd3f6f17425570a4b2f00ddba2f750db15acc72e55bb098b",
15+
name = "com_google_googletest",
16+
sha256 = "8ad598c73ad796e0d8280b082cebd82a630d73e73cd3c70057938a6501bba5d7",
17+
strip_prefix = "googletest-1.14.0",
18+
urls = [
19+
"https://github.com/google/googletest/archive/refs/tags/v1.14.0.tar.gz",
20+
],
1021
)
1122

12-
# GoogleTest/GoogleMock framework. Used by most unit-tests.
23+
# Absl
1324
http_archive(
14-
name = "com_google_googletest",
15-
urls = ["https://github.com/google/googletest/archive/master.zip"],
16-
strip_prefix = "googletest-master",
25+
name = "com_google_absl",
26+
sha256 = "5366d7e7fa7ba0d915014d387b66d0d002c03236448e1ba9ef98122c13b35c36",
27+
strip_prefix = "abseil-cpp-20230125.3",
28+
urls = ["https://github.com/abseil/abseil-cpp/archive/refs/tags/20230125.3.tar.gz"],
1729
)
1830

31+
# re2 required for google tests
32+
http_archive(
33+
name = "com_googlesource_code_re2",
34+
sha256 = "b90430b2a9240df4459108b3e291be80ae92c68a47bc06ef2dc419c5724de061",
35+
strip_prefix = "re2-a276a8c738735a0fe45a6ee590fe2df69bcf4502",
36+
urls = ["https://github.com/google/re2/archive/a276a8c738735a0fe45a6ee590fe2df69bcf4502.tar.gz"],
37+
)
38+
39+
http_archive(
40+
name = "bazel_skylib",
41+
sha256 = "b8a1527901774180afc798aeb28c4634bdccf19c4d98e7bdd1ce79d1fe9aaad7",
42+
urls = [
43+
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-1.4.1.tar.gz",
44+
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-1.4.1.tar.gz",
45+
],
46+
)
47+
48+
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
49+
50+
bazel_skylib_workspace()

bazelrc

Lines changed: 0 additions & 139 deletions
This file was deleted.

0 commit comments

Comments
 (0)