forked from oceanbase/seekdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bazelrc
More file actions
17 lines (16 loc) · 729 Bytes
/
Copy path.bazelrc
File metadata and controls
17 lines (16 loc) · 729 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Shared settings for the seekdb Bazel build.
common --lockfile_mode=error
build --verbose_failures
build --workspace_status_command=./tools/bazel_migration/workspace_status.sh
build --enable_platform_specific_config
# Release-compatible O2 is the default. O1 uses fastbuild only as its output
# configuration; the explicit copt also makes O1 portable to the native macOS
# toolchain, whose fastbuild flags are not repository-owned.
build --compilation_mode=opt
build --force_pic
build:O1 --compilation_mode=fastbuild
build:O1 --copt=-O1
build:O2 --compilation_mode=opt
build:macos --macos_minimum_os=13.0
# Native shorthand for the orthogonal custom memory-safety build setting.
build --flag_alias=sanity=//bazel:enable_sanity