-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.bazelrc
69 lines (51 loc) · 2.58 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# DO NOT EDIT!
# Generate by running 'bazel run --config=pre_build //:sync_bazelrc'
# Common Default
# Wrapper to make sure tests are run.
# Allow at most 4 hours for eternal tests.
test --run_under='//bazel:test_wrapper' --test_timeout=-1,-1,-1,14400
# Since integration tests are located in different packages than code under test,
# the default instrumentation filter would exclude the code under test. This
# makes bazel consider all the source code in our repo for coverage.
coverage --instrumentation_filter="-//tests[/:]"
# Internal definitions
# Make the target platform and the host platform the same
build:_build --platforms //bazel/platforms:core_conda_env --host_platform //bazel/platforms:core_conda_env --repo_env=BAZEL_CONDA_ENV_NAME=build
build:_core --platforms //bazel/platforms:core_conda_env --host_platform //bazel/platforms:core_conda_env --repo_env=BAZEL_CONDA_ENV_NAME=core
build:_all --platforms //bazel/platforms:all_conda_env --host_platform //bazel/platforms:all_conda_env --repo_env=BAZEL_CONDA_ENV_NAME=all
# Public definitions
# Python environment flag, should use in combination with other configs
build:py3.9 --repo_env=BAZEL_CONDA_PYTHON_VERSION=3.9
build:py3.10 --repo_env=BAZEL_CONDA_PYTHON_VERSION=3.10
build:py3.11 --repo_env=BAZEL_CONDA_PYTHON_VERSION=3.11
build:py3.12 --repo_env=BAZEL_CONDA_PYTHON_VERSION=3.12
build:build --config=_build
# Config to sync files
run:pre_build --config=_build --config=py3.9
# Config to run type check
build:typecheck --aspects @rules_mypy//:mypy.bzl%mypy_aspect --output_groups=mypy --config=_all --config=py3.9
# Config to build the doc
build:docs --config=_all --config=py3.9
# Public the extended setting
cquery:core --config=_core
test:core --config=_core
run:core --config=_core
cquery:all --config=_all
test:all --config=_all
run:all --config=_all
# Below are auto-generated settings, do not modify them directly
build:_keras --platforms //bazel/platforms:keras_conda_env --host_platform //bazel/platforms:keras_conda_env --repo_env=BAZEL_CONDA_ENV_NAME=keras
cquery:keras --config=_keras
build:keras --config=_keras
test:keras --config=_keras
run:keras --config=_keras
build:_ml --platforms //bazel/platforms:ml_conda_env --host_platform //bazel/platforms:ml_conda_env --repo_env=BAZEL_CONDA_ENV_NAME=ml
cquery:ml --config=_ml
build:ml --config=_ml
test:ml --config=_ml
run:ml --config=_ml
build:_torch --platforms //bazel/platforms:torch_conda_env --host_platform //bazel/platforms:torch_conda_env --repo_env=BAZEL_CONDA_ENV_NAME=torch
cquery:torch --config=_torch
build:torch --config=_torch
test:torch --config=_torch
run:torch --config=_torch