-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bazelrc
32 lines (27 loc) · 1.72 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
# Bazel settings that apply to this repository.
# Take care to document any settings that you expect users to apply.
# Settings that apply only to CI are in .github/workflows/ci.bazelrc
# Required until this is the default; expected in Bazel 7
common --enable_bzlmod
# Don’t want to push a rules author to update their deps if not needed.
# https://bazel.build/reference/command-line-reference#flag--check_direct_dependencies
# https://bazelbuild.slack.com/archives/C014RARENH0/p1691158021917459?thread_ts=1691156601.420349&cid=C014RARENH0
common --check_direct_dependencies=off
build:linux --sandbox_add_mount_pair=/tmp
build:macos --sandbox_add_mount_pair=/var/tmp
build:windows --sandbox_add_mount_pair=C:\Temp
build --action_env BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
common:linux-amd64 --platforms=//patchelf_prebuilt/platforms:linux-amd64
common:linux-arm64 --platforms=//patchelf_prebuilt/platforms:linux-arm64
common:darwin-amd64 --platforms=//patchelf_prebuilt/platforms:darwin-amd64
common:darwin-arm64 --platforms=//patchelf_prebuilt/platforms:darwin-arm64
common:windows-amd64 --platforms=//patchelf_prebuilt/platforms:windows-amd64
common:windows-arm64 --platforms=//patchelf_prebuilt/platforms:windows-arm64
# Load any settings specific to the current user.
# .bazelrc.user should appear in .gitignore so that settings are not shared with team members
# This needs to be last statement in this
# config, as the user configuration should be able to overwrite flags from this file.
# See https://docs.bazel.build/versions/master/best-practices.html#bazelrc
# (Note that we use .bazelrc.user so the file appears next to .bazelrc in directory listing,
# rather than user.bazelrc as suggested in the Bazel docs)
try-import %workspace%/.bazelrc.user