-
Notifications
You must be signed in to change notification settings - Fork 216
/
.bazelrc
46 lines (35 loc) · 1.81 KB
/
.bazelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Location of the Gurobi license key file, typically named "gurobi.lic".
build --action_env=GRB_LICENSE_FILE
# Location of the MOSEK license file, typically named "mosek.lic"
build --action_env=MOSEKLM_LICENSE_FILE
build --coverage_report_generator=//book/htmlbook/tools/coverage:coverage_report_generator
build --coverage_support=//book/htmlbook/tools/coverage:coverage_support
build --enable_platform_specific_config=yes
build --incompatible_disable_target_provider_fields=yes
build --incompatible_load_python_rules_from_bzl=yes
#build --incompatible_no_rule_outputs_param=yes
build --incompatible_run_shell_command_string=yes
build --incompatible_strict_action_env=yes
build --incompatible_visibility_private_attributes_at_definition=yes
build --legacy_external_runfiles=no
build --strict_filesets=yes
build --test_env=GRB_LICENSE_FILE
build --test_env=LANG=en_US.UTF-8
build --test_env=LC_ALL=en_US.UTF-8
build --test_env=MOSEKLM_LICENSE_FILE
build --test_env=MPLBACKEND=Template
# TODO(jamiesnape): Fix "Invalid -W option ignored: invalid module name:
# 'pydrake.common.deprecation' warning and ensure that Drake deprecation
# warnings are promoted to errors.
# build --test_env=PYTHONWARNINGS=error::pydrake.common.deprecation.DrakeDeprecationWarning
build --test_output=errors
build --test_summary=terse
build:linux --action_env=PATH=/usr/sbin:/usr/bin:/sbin:/bin
build:macos --action_env=PATH=/opt/homebrew/opt/[email protected]/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
build:macos --test_timeout=120,600,1800,7200
# Disable python imports from ~/.local (pip -U) during build and test.
# https://github.com/bazelbuild/bazel/issues/4939
# https://github.com/RobotLocomotion/drake/issues/8475
build --action_env=PYTHONNOUSERSITE=1
build --test_env=PYTHONNOUSERSITE=1
try-import %workspace%/user.bazelrc