Skip to content

Commit 9e4b762

Browse files
committed
Add suggested alias for bazelrc import location
See bazelbuild/bazel#6319
1 parent 1b1fdfd commit 9e4b762

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.bazelrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# load bazelrc from the legacy location
2+
# as recommended in https://github.com/bazelbuild/bazel/issues/6319
3+
import %workspace%/tools/bazel.rc

tools/bazel.rc

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# bazelrc file
2+
# bazel >= 0.18 looks for %workspace%/.bazelrc (which redirects here)
3+
# Older bazel versions look for %workspace%/tools/bazel.rc (this file)
4+
# See https://github.com/bazelbuild/bazel/issues/6319
5+
16
build --client_env=CC=clang
27
build --copt=-DGRPC_BAZEL_BUILD
38

0 commit comments

Comments
 (0)