aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorambrosin <ambrosin@google.com>2022-10-28 02:43:30 -0700
committerCopybara-Service <copybara-worker@google.com>2022-10-28 02:44:13 -0700
commite5f21adbb02618b69d38af89b71cd8e2b0e31f4b (patch)
treec6bf049192f87076cd962d08fac8bc65eeb1cdce /tools
parent10cde5d339722667b48361598272a24d2a433710 (diff)
downloadtink-e5f21adbb02618b69d38af89b71cd8e2b0e31f4b.tar.gz
Upgrade BoringSSL and switch to C++14 as the minimum supported version
Many of the dependencies we use in Tink are moving to support only C++14. BoringSSL is an example (see https://github.com/google/boringssl/commit/493d5cbedda8690d17a323d3532acfb1fb1845ad#diff-bad5d9040d9fca0b5e67ed87fde70b1d1effd7110bcb4d6ed0c8f6e16be23be1). This change: - Sets c++14 as the default version used by all the workspaces that use tink-cc and Bazel's default toolchain via `.bazerlrc` files. Tink users can override this by passing `--cxxopt='-std=c++<verison>'` or editing its toolchain. - Upgrades BoringSSL to 2022-09-14's commit. PiperOrigin-RevId: 484479474
Diffstat (limited to 'tools')
-rw-r--r--tools/.bazelrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/.bazelrc b/tools/.bazelrc
new file mode 100644
index 000000000..62673edfa
--- /dev/null
+++ b/tools/.bazelrc
@@ -0,0 +1,3 @@
+# Minumum C++ version. Override it building this project with
+# `bazel build --cxxopt='-std=c++<XY>' ...`
+build --cxxopt='-std=c++14'