diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2018-10-24 16:48:41 +0200 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2018-10-24 23:31:54 +0200 |
commit | 9e4b7622039f8d17cb479815a7442acde52cf01d (patch) | |
tree | 88bf7efe883d624c2dd7c342f4f62f9096fc6017 | |
parent | 1b1fdfd89206aedffe2a6763ab547061f9d2a49f (diff) |
Add suggested alias for bazelrc import location
-rw-r--r-- | .bazelrc | 3 | ||||
-rw-r--r-- | tools/bazel.rc | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/.bazelrc b/.bazelrc new file mode 100644 index 0000000000..bc31c54e94 --- /dev/null +++ b/.bazelrc @@ -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 diff --git a/tools/bazel.rc b/tools/bazel.rc index 5b107210c6..bfdbc0cacb 100644 --- a/tools/bazel.rc +++ b/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 --copt=-DGRPC_BAZEL_BUILD |