Skip to content

Commit 8b7e71c

Browse files
authored
Update to clang-14 and c++20. (#99)
1 parent 3619e7d commit 8b7e71c

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

.bazelrc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
# https://github.com/bazelbuild/rules_fuzzing/blob/f6062a88d83463e2900e47bc218547ba046dad44/.bazelrc
1717

1818
# Force the use of Clang for all builds.
19-
build --action_env=CC=clang-10
20-
build --action_env=CXX=clang++-10
19+
build --action_env=CC=clang-14
20+
build --action_env=CXX=clang++-14
2121

22-
build --cxxopt=-std=c++14
23-
build --host_cxxopt=-std=c++14
22+
build --cxxopt=-std=c++20
23+
build --host_cxxopt=-std=c++20
2424

2525
# The ASAN configuration suitable for C++ unit tests.
2626
build:asan --copt=-fsanitize=address

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.0.0
1+
4.0.0

script/ci.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616
#
1717
################################################################################
1818

19-
bazel build //...
20-
bazel test //... --test_output=errors
19+
# TODO: Remove these two lines after getting rid of python2 dependencies.
20+
apt-get upgrade
21+
apt-get -y install python
22+
bazelisk build //...
23+
bazelisk test //... --test_output=errors

0 commit comments

Comments
 (0)