The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#) https://grpc.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

78 lines
2.8 KiB

# Copyright 2017 gRPC authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
licenses(["notice"]) # Apache v2
package(default_visibility = ["//visibility:public"])
load("@bazel_toolchains//rules/exec_properties:exec_properties.bzl", "create_rbe_exec_properties_dict")
# The default toolchain suite for RBE linux, pass it to --crosstool_top
alias(
name = "rbe_linux_default_toolchain_suite",
actual = "//third_party/toolchains/rbe_ubuntu2004/cc:toolchain",
)
# The default CC toolchain suite for RBE linux
alias(
name = "rbe_linux_default_cc_toolchain",
actual = "//third_party/toolchains/rbe_ubuntu2004/config:cc-toolchain",
)
# The default platform for RBE Linux
platform(
name = "rbe_linux_default_platform",
# Inherit from the platform target generated by 'rbe_configs_gen'.
parents = ["//third_party/toolchains/rbe_ubuntu2004/config:platform"],
exec_properties = create_rbe_exec_properties_dict(
docker_add_capabilities = "SYS_PTRACE",
docker_privileged = True,
# by default, all RBE actions will run on "small" workers.
# For individual targets, this can be overridden by adding the "exec_properties = LARGE_MACHINE"
# attribute.
labels = {
"os": "ubuntu",
"machine_size": "small",
},
os_family = "Linux",
),
)
# The default toolchain suite for RBE windows, pass it to --crosstool_top
alias(
name = "rbe_windows_default_toolchain_suite",
actual = "//third_party/toolchains/rbe_windows_bazel_5.2.0_vs2019:toolchain",
)
# The default CC toolchain suite for RBE windows
alias(
name = "rbe_windows_default_cc_toolchain",
actual = "//third_party/toolchains/rbe_windows_bazel_5.2.0_vs2019:cc-toolchain-x64_windows",
)
# The default platform for RBE windows
platform(
name = "rbe_windows_default_platform",
constraint_values = [
"@platforms//cpu:x86_64",
"@platforms//os:windows",
],
exec_properties = create_rbe_exec_properties_dict(
# See rbe_win2019/Dockerfile for image details
container_image = "docker://gcr.io/grpc-testing/rbe_windows2019@sha256:41772e8eeb9dd8c8b996bf32d58164d84b2315c8e81e634bbff5a0216b7f52fd",
os_family = "Windows",
# by default, all RBE actions will run on "small" workers.
labels = {"os": "windows_2019", "machine_size": "small"},
),
)