bazelrc.bazelrc (1519B)
1 # Bazel rc file 2 # TODO comments are highlighted 3 4 startup --output_base=/tmp/bazel 5 common --enable_platform_specific_config 6 always --announce_rc 7 build --jobs=8 --verbose_failures 8 test -c dbg --test_env=PATH 9 query --keep_going 10 11 # A config name is everything after the first colon 12 build:ci --remote_cache=grpcs://cache.example.com --config=strict 13 build:strict --copt=-Wall --copt=-Werror 14 build:foo:bar --//my/pkg:setting=1 --no//my/pkg:other 15 startup:linux --host_jvm_args=-Xmx4g 16 common:empty 17 18 # Quotes may open part-way through a word and need not be closed 19 build --define='a b' --define="a#b" --define=a"b c"d 20 build --copt=-DNAME=\"x\" --copt=-DSPACE=a\ b 21 build --define="unterminated 22 build --jobs=8 23 24 # An unquoted # starts a comment, with or without leading whitespace 25 build --jobs=4 # trailing comment 26 build --jobs=2# no leading whitespace 27 build --copt=\#notacomment 28 29 # A trailing backslash joins the following line 30 build --copt=-Wextra \ 31 --copt=-Wpedantic \ 32 --copt=-Wshadow 33 34 # ...including inside a comment, so this line is commented too \ 35 build --this_line_is_part_of_the_comment 36 37 import /etc/bazel/site.bazelrc 38 import %workspace%/tools/flags.bazelrc 39 try-import %workspace%/user.bazelrc 40 try-import-if-bazel-version >=7.0.0 %workspace%/configs/v7.rc 41 try-import-if-bazel-version <8 %workspace%/configs/pre_v8.rc 42 try-import-if-bazel-version ==6.3.2 %workspace%/configs/hotfix.rc 43 try-import-if-bazel-version !=7.0.1 %workspace%/configs/standard.rc 44 try-import-if-bazel-version ~8.1 %workspace%/configs/v8_1.rc