-
Notifications
You must be signed in to change notification settings - Fork 45
/
.bazelrc
57 lines (51 loc) · 2.59 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
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
build --cxxopt "-std=c++17"
build --cxxopt "-ffp-contract=off"
build --host_cxxopt "-std=c++17"
build --host_cxxopt "-ffp-contract=off"
build --crosstool_top=@llvm_toolchain//:toolchain
build:ciremotebuild --crosstool_top=@llvm_toolchain//:toolchain
build:ciremotebuild --bes_backend=grpcs://cloud.buildbuddy.io
build:ciremotebuild --remote_cache=https://storage.googleapis.com/bazel-cache-rules-hdl
build:ciremotebuild --google_default_credentials
build:ciremotebuild --remote_download_outputs=all
build:ciremotebuild --tls_client_certificate=/root/.ssh/buildbuddy-cert.pem
build:ciremotebuild --tls_client_key=/root/.ssh/buildbuddy-key.pem
build:ciremotebuild --build_metadata=VISIBILITY=PUBLIC
test:ciremotebuild --crosstool_top=@llvm_toolchain//:toolchain
test:ciremotebuild --bes_backend=grpcs://cloud.buildbuddy.io
test:ciremotebuild --remote_cache=grpcs://cloud.buildbuddy.io
test:ciremotebuild --remote_download_outputs=all
test:ciremotebuild --google_default_credentials
test:ciremotebuild --noremote_upload_local_results # Uploads logs & artifacts without writing to cache
test:ciremotebuild --tls_client_certificate=/root/.ssh/buildbuddy-cert.pem
test:ciremotebuild --tls_client_key=/root/.ssh/buildbuddy-key.pem
test:ciremotebuild --build_metadata=VISIBILITY=PUBLIC
test:ciremotebuild --remote_timeout=3600
###############################################################################
## Incompatibility flags
###############################################################################
# https://github.com/bazelbuild/bazel/issues/8195
build --incompatible_disallow_empty_glob=true
###############################################################################
## User flags
###############################################################################
# Optionally allow users to define custom flags when developing new features.
# https://bazel.build/configure/best-practices#bazelrc-file
#
# Note: This line should always be last in this file to ensure consistent behavior
# with flags defined in this file.
#
try-import %workspace$/user.bazelrc