You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .bazelrc
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,10 @@ common --tool_java_runtime_version=remotejdk_8
9
9
# Hide Java 8 deprecation warnings.
10
10
common --javacopt=-Xlint:-options
11
11
12
+
# Enable modern C++ features, for compiling java_tools from source
13
+
build --cxxopt=-std=c++17
14
+
build --host_cxxopt=-std=c++17
15
+
12
16
# Some tests relies on dynamic libs that are not interface libs
13
17
# the latter are always enabled on Windows: https://github.com/bazelbuild/bazel/blob/1f5414408467171581b6142e93f67fe730d722cf/src/main/java/com/google/devtools/build/lib/rules/cpp/CcModule.java#L2430
14
18
# we can't use a transition because toolchain deps exceed the default --analysis_testing_deps_limit.
0 commit comments