-
Notifications
You must be signed in to change notification settings - Fork 80
Expand file tree
/
Copy path.bazelrc
More file actions
24 lines (20 loc) · 913 Bytes
/
.bazelrc
File metadata and controls
24 lines (20 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
run -c opt --show_loading_progress=false --show_progress=false --ui_event_filters=error
run:verbose -c dbg --show_loading_progress=true --show_progress=true --ui_event_filters=info,error,debug
# https://github.com/mockito/mockito/issues/1879
test --sandbox_tmpfs_path=/tmp
# Use a hermetic JDK for tests.
common --java_runtime_version=remotejdk_21
# Enable platform-specific config
common --enable_platform_specific_config
# Set C++ standard to C++17 for abseil-cpp compatibility
# Use GCC/Clang syntax for Linux and macOS
build:linux --cxxopt=-std=c++17
build:linux --host_cxxopt=-std=c++17
build:macos --cxxopt=-std=c++17
build:macos --host_cxxopt=-std=c++17
# Use MSVC syntax for Windows
build:windows --cxxopt=/std:c++17
build:windows --host_cxxopt=/std:c++17
# Avoid cache thrashing, but allow integration tests to find "bazel" on the PATH.
common --incompatible_strict_action_env
common --test_env=PATH