Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BuildBuddy RBE from devcontainer #217

Open
mvgijssel opened this issue Apr 28, 2023 · 0 comments
Open

BuildBuddy RBE from devcontainer #217

mvgijssel opened this issue Apr 28, 2023 · 0 comments

Comments

@mvgijssel
Copy link
Member

mvgijssel commented Apr 28, 2023

From BuildBuddy slack https://buildbuddy.slack.com/archives/CUY16GNK1/p1681908740387489?thread_ts=1681908445.883089&channel=CUY16GNK1&message_ts=1681908740.387489:

For our repo, we often use the following set of flags to cross-compile remotely from MacOS M1 to Linux AMD64
bazel test //...
--remote_executor=remote.buildbuddy.io
--host_cpu=k8
--cpu=k8
--crosstool_top=@buildbuddy_toolchain//:ubuntu_cc_toolchain_suite
--host_platform=@buildbuddy_toolchain//:platform_linux
--extra_toolchains=@buildbuddy_toolchain//:ubuntu_cc_toolchain
--jobs=100

However you need to declare separate Go SDK to have a linux Go sdk available
https://github.com/buildbuddy-io/buildbuddy/blob/73ec4544d3bf813141314970275d4c2eaa5091a8/WORKSPACE#L57-L83

I raised bazel-contrib/rules_go#3540 few mins ago in hope to improve this experience further.

@mvgijssel mvgijssel converted this from a draft issue Apr 28, 2023
@mvgijssel mvgijssel moved this to Todo in Provisioner setup Apr 28, 2023
@mvgijssel mvgijssel assigned mvgijssel and unassigned mvgijssel Apr 28, 2023
@mvgijssel mvgijssel removed the status in Provisioner setup Apr 28, 2023
@mvgijssel mvgijssel moved this to Todo in Provisioner setup Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant