From f8ae64043dd996fd3236467bdf5e0b4c2bb28406 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 1 Nov 2021 11:36:44 +1000 Subject: [PATCH] set local=False for python/protoc/clang Suspect this will fix these repos being unnecessarily restarted on changes to the workspace. --- proto/clang_format.bzl | 2 +- proto/protobuf.bzl | 2 +- python/python.bzl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/proto/clang_format.bzl b/proto/clang_format.bzl index 2ea62cd44..ba190099c 100644 --- a/proto/clang_format.bzl +++ b/proto/clang_format.bzl @@ -26,7 +26,7 @@ alias( _setup_clang_format = repository_rule( attrs = {}, - local = True, + local = False, implementation = _impl, ) diff --git a/proto/protobuf.bzl b/proto/protobuf.bzl index b0391cd0d..83c6c4056 100644 --- a/proto/protobuf.bzl +++ b/proto/protobuf.bzl @@ -24,7 +24,7 @@ alias( _setup_protoc = repository_rule( implementation = _impl, - local = True, + local = False, attrs = {}, ) diff --git a/python/python.bzl b/python/python.bzl index c1cb2b2d2..97ba73793 100644 --- a/python/python.bzl +++ b/python/python.bzl @@ -99,6 +99,6 @@ exports_files(["python"]) setup_local_python = repository_rule( implementation = _impl, - local = True, + local = False, attrs = {}, )