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

Flagless multiplatform build support #2026

Closed
jschaf opened this issue Apr 7, 2019 · 3 comments
Closed

Flagless multiplatform build support #2026

jschaf opened this issue Apr 7, 2019 · 3 comments

Comments

@jschaf
Copy link
Contributor

jschaf commented Apr 7, 2019

What version of rules_go are you using?

0.18.1

What version of Bazel are you using?

0.23.2-homebrew

Will the go rules support the platforms attribute described in https://bazel.build/roadmaps/configuration.html under "Flagless multiplatform builds"? If so, is the late 2019 estimate accurate?

@jayconrod
Copy link
Contributor

This will be supported after the underlying Bazel features are implemented and exposed in Starlark. We'll migrate the goos, goarch, and other mode attributes to use this internally, since they're causing a lot of problems.

I don't have any target date for this at the moment, but it's one of the higher priority projects in rules_go.

@jschaf
Copy link
Contributor Author

jschaf commented Apr 8, 2019

Thanks. If I understand correctly, this is blocked by bazelbuild/bazel#6519.

@jayconrod
Copy link
Contributor

Yes, right.

I'll close this issue because there's nothing concrete to do right now, and the upstream design may change. We'll add whatever support is needed in rules_go once Bazel has this capability though.

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

2 participants