pull/20926/head
Richard Belleville 5 years ago
parent 44e1da8869
commit 3d876a656f
  1. 8
      WORKSPACE
  2. 1
      bazel/custom_exec_properties.bzl

@ -32,16 +32,16 @@ load("@bazel_toolchains//rules:rbe_repo.bzl", "rbe_autoconfig")
# Create toolchain configuration for remote execution. # Create toolchain configuration for remote execution.
rbe_autoconfig( rbe_autoconfig(
name = "rbe_default", name = "rbe_default",
# use exec_properties instead of deprecated remote_execution_properties
use_legacy_platform_definition = False,
exec_properties = create_exec_properties_dict( exec_properties = create_exec_properties_dict(
docker_add_capabilities = "SYS_PTRACE",
docker_privileged = True,
# n1-highmem-2 is the default (small machine) machine type. Targets # n1-highmem-2 is the default (small machine) machine type. Targets
# that want to use other machines (such as LARGE_MACHINE) will override # that want to use other machines (such as LARGE_MACHINE) will override
# this value. # this value.
gce_machine_type = "n1-highmem-2", gce_machine_type = "n1-highmem-2",
docker_add_capabilities = "SYS_PTRACE",
docker_privileged = True,
), ),
# use exec_properties instead of deprecated remote_execution_properties
use_legacy_platform_definition = False,
) )
load("@bazel_toolchains//rules:environments.bzl", "clang_env") load("@bazel_toolchains//rules:environments.bzl", "clang_env")

@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
load("@grpc_custom_exec_properties//:constants.bzl", _LARGE_MACHINE = "LARGE_MACHINE") load("@grpc_custom_exec_properties//:constants.bzl", _LARGE_MACHINE = "LARGE_MACHINE")
LARGE_MACHINE = _LARGE_MACHINE LARGE_MACHINE = _LARGE_MACHINE

Loading…
Cancel
Save