Skip to content

Commit

Permalink
Add suggested alias for bazelrc import location
Browse files Browse the repository at this point in the history
  • Loading branch information
jtattermusch committed Oct 24, 2018
1 parent 1b1fdfd commit 9e4b762
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# load bazelrc from the legacy location
# as recommended in https://github.com/bazelbuild/bazel/issues/6319
import %workspace%/tools/bazel.rc
5 changes: 5 additions & 0 deletions tools/bazel.rc
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# bazelrc file
# bazel >= 0.18 looks for %workspace%/.bazelrc (which redirects here)
# Older bazel versions look for %workspace%/tools/bazel.rc (this file)
# See https://github.com/bazelbuild/bazel/issues/6319

build --client_env=CC=clang
build --copt=-DGRPC_BAZEL_BUILD

Expand Down

0 comments on commit 9e4b762

Please sign in to comment.