bazel: use host platform by default (#1434)

This commit is contained in:
Malte Poll 2023-03-16 16:13:48 +01:00 committed by GitHub
parent 0fc15b2393
commit 62e2e70699
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 107 additions and 21 deletions

View file

@ -3,16 +3,16 @@ load("//bazel/sh:def.bzl", "sh_template")
sh_template(
name = "devbuild",
data = [
"//bootstrapper/cmd/bootstrapper",
"//bootstrapper/cmd/bootstrapper:bootstrapper_linux_amd64",
"//cli:cli_oss_host",
"//debugd/cmd/cdbg:cdbg_host",
"//upgrade-agent/cmd",
"//upgrade-agent/cmd:upgrade_agent_linux_amd64",
],
substitutions = {
"@@BOOTSTRAPPER@@": "$(rootpath //bootstrapper/cmd/bootstrapper)",
"@@BOOTSTRAPPER@@": "$(rootpath //bootstrapper/cmd/bootstrapper:bootstrapper_linux_amd64)",
"@@CDBG@@": "$(rootpath //debugd/cmd/cdbg:cdbg_host)",
"@@CLI@@": "$(rootpath //cli:cli_oss_host)",
"@@UPGRADE_AGENT@@": "$(rootpath //upgrade-agent/cmd)",
"@@UPGRADE_AGENT@@": "$(rootpath //upgrade-agent/cmd:upgrade_agent_linux_amd64)",
},
template = "prepare_developer_workspace.sh.in",
visibility = ["//visibility:public"],