-
Notifications
You must be signed in to change notification settings - Fork 1
/
.bazelrc
24 lines (17 loc) · 925 Bytes
/
.bazelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
build --incompatible_enable_cc_toolchain_resolution
build --host_platform=@io_tweag_rules_nixpkgs//nixpkgs/platforms:host
build --platforms @io_tweag_rules_nixpkgs//nixpkgs/platforms:host
# Enable toplevel_output_directories and Ninja executor in Bazel
common --experimental_ninja_actions
# Lock down the PATH variable in actions to /usr/bin and /usr/local/bin.
build --incompatible_strict_action_env
build --experimental_strict_action_env
# Show the full set of flags for observability and debuggability.
common --announce_rc
# Pass through any SOURCE_DATE_EPOCH set from outside
build --action_env=SOURCE_DATE_EPOCH
# flag aliases for build settings
build --flag_alias=lto=@kleaf//common/kleaf:lto
# add a flag alias to allow passing --debug_* flags
build --flag_alias=debug_annotate_scripts=@kleaf//common/kleaf:debug_annotate_scripts
build --flag_alias=debug_print_scripts=@kleaf//common/kleaf:debug_print_scripts