Add suggested alias for bazelrc import location

See https://github.com/bazelbuild/bazel/issues/6319
pull/16986/head
Jan Tattermusch 6 years ago
parent 1b1fdfd892
commit 9e4b762203
  1. 3
      .bazelrc
  2. 5
      tools/bazel.rc

@ -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

@ -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 --client_env=CC=clang
build --copt=-DGRPC_BAZEL_BUILD build --copt=-DGRPC_BAZEL_BUILD

Loading…
Cancel
Save