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

add arm64 #98

Merged
merged 2 commits into from
Jan 11, 2021
Merged

add arm64 #98

merged 2 commits into from
Jan 11, 2021

Conversation

varnson
Copy link
Contributor

@varnson varnson commented Dec 19, 2020

fix #88
add arm64

@varnson varnson mentioned this pull request Dec 22, 2020
@lornasong lornasong self-requested a review January 5, 2021 21:39
@lornasong lornasong requested review from eikenb and removed request for lornasong January 5, 2021 22:48
@eikenb
Copy link
Contributor

eikenb commented Jan 6, 2021

Hey @varnson, thanks for submitting this.

To add arm64 it needs a few additional changes to exclude unsupported platforms. Probably easiest for you to just look at what consul-template does as it already has arm64 support and excludes all the necessary platforms (probably more than needed here).

https://github.com/hashicorp/consul-template/blob/91c3dd4189ad3d8d21130694f436e9706e3ccf5a/Makefile#L31-L32

You should be able to just specify the "arm64" exclusions just like it does in consul-template's Makefile, as it does the same comparison.

@varnson
Copy link
Contributor Author

varnson commented Jan 6, 2021

@eikenb
Thank you for your advice. I have added it.

@eikenb
Copy link
Contributor

eikenb commented Jan 6, 2021

Sorry @varnson, but would you mind including the comment that was above the XC_EXCLUDE definition. Makefiles can be pretty dense and it is not obvious how that comparison works. Thanks.

Makefile Outdated Show resolved Hide resolved
@eikenb
Copy link
Contributor

eikenb commented Jan 11, 2021

Looks good. Thanks for the changes.

@eikenb eikenb merged commit ce841f6 into hashicorp:master Jan 11, 2021
@lornasong lornasong added this to the 0.6.0 milestone Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

missing builds for arm64
3 participants