Skip to content

Commit

Permalink
cc_configure: declare environment variables for invalidation
Browse files Browse the repository at this point in the history
And stop setting the local flag

--
Change-Id: I97c76cf78a191a5f37c8bb3cd32e78df5aeeb885
Reviewed-on: https://cr.bazel.build/8223
PiperOrigin-RevId: 147591728
MOS_MIGRATED_REVID=147591728
  • Loading branch information
damienmg authored and hermione521 committed Feb 15, 2017
1 parent ce74be1 commit ac29b78
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tools/cpp/cc_configure.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,15 @@ def _impl(repository_ctx):
})


cc_autoconf = repository_rule(implementation=_impl, local=True)
cc_autoconf = repository_rule(
implementation=_impl,
environ = [
"CC",
"BAZEL_VC",
"BAZEL_VS",
"BAZEL_SH",
"BAZEL_PYTHON",
"CPLUS_INCLUDE_PATH"])


def cc_configure():
Expand Down

0 comments on commit ac29b78

Please sign in to comment.