You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.
yes, build script makes sense. we will need to be careful since this will be the first case of an ldflags parameter that is not global for the entire build script and needs to be injected correctly for each and every build. not sure if you can have multiple -ldflags cli options when building but if you can then that's perfect. if not we will need to maybe do some string manipulation to get it working correctly
I'm not sure how we inject this correctly, and I don't think you can have multiple -ldflags options on build.
But, even if we can do those things, I'm not sure we can reliably define GOARM for users not using the hand-rolled binaries. Currently, GOARM is only defined on deploy (here), and it uses specific choices of GOARM that are defined in PLATFORM_ARGS (here). It isn't done earlier in the script when the cmd package variables are exported (here). So, I don't know if this export is possible for users compiling from source. If it's not, I'd lean towards just not defining GOARM for those users, which substantially simplifies the overall logic. Thoughts?
debnil
changed the title
[1] add GOARM versions in metrics, or remove TODO and explain in comment why its missing
[1](2) add GOARM versions in metrics, or remove TODO and explain in comment why its missing
Nov 19, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
No description provided.
The text was updated successfully, but these errors were encountered: