-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Make a pre-comiled arm64 build #14474
Comments
Consul fixed it with this commit: hashicorp/consul@437222f Vault with this: hashicorp/vault@7bce602 |
Hi @Knight1! Thanks for this request. Right now we are doing some other release-engineering-type work internally, which will change how Terraform and its providers are built and packaged. Since there's already work underway there that we don't want to disrupt, we'll come back to this once the current tranche of work is done and see what it would take to do this under the new approach. |
Thanks @apparentlymart - any sense for how the build reorg work is going, and what timeframe that is planned to appear in? We are about to engage in some more work on improving the Terraform provider at Packet (which will touch the ARMv8 servers there, hence the continuing interest). |
I have @scaleway i can make a compile run. |
Thanks @necrose99 - and thanks for following through on this. @apparentlymart there are CI resources available at Packet for doing this, but I don't know your existing build environment well enough to suggest which of them might work best. |
i'm just using Gentoo in a chroot on debian host emerge -av app-admin/terraform ebuild terraform-0.11.8.ebuild rpm will also spit out a redhat rpm , as being a src based distro /var/tmp and /usr/portage/package ""/distfiles start to fill up... |
Uploading terraform-0.11.8-r0.aarch64.rpm.zip… time to feed the mrs's so will upload ltr. |
dump of rpm spec , auto generated from ebuild rpm.... from gentoo ebuild...
|
@grubernaut what is the necessary to get this build of Terraform for arm64 into your main build system? We are hoping to target something for Hashiconf in October, and it looks like things work and are tested if the artifacts can be built. |
@vielmetti I'm not sure, as I haven't been an HC employee for almost a year now 😄. But @apparentlymart would likely be the best point of contact for this question. |
Hi all, I think the answer to this is similar to my answer in #18708. The summary is: a bunch of other stuff needs to be updated in order for a new architecture to be useful/supported. Given this, I expect the most likely thing here would be that we hold on this for the moment and then make a set of supported-platform changes all at once so we can amortize that effort, probably also in conjunction with a forthcoming revamp of the build process for other reasons that is being driven by HashiCorp's internal engineering services team (and thus not something driven by the Terraform team's own planning/schedule.) It is not likely that any new architectures will be officially supported before HashiConf in October, since all of the teams that would need to coordinate on this are occupied with other work. |
https://github.com/ascherer/debbuild also can use the spec ebuild rpm autogenerated. app-admin/terraform-provider-libvirt |
That would be useful, specifically for those running things like Samsung DeX. |
Ran into this again - any chance to update the build process to add one more architecture? |
Just put in PR #21064 with the two-line patch to the build script that should make this work. (There's probably a documentation PR that will need to go in as well, but as a start...!) |
A note that #21064 was closed as it was not sufficient to do what it requested here. |
re-upping this issue for the new year |
I'd love to be able to run terraform on my Surface Pro X through WSL2 (which runs Ubuntu on |
###Quick And dirty results from above in RPM from good bit ago. terraform-0.11.8-r0.aarch64.zip https://github.com/sakaki-/gentoo-on-rpi-64bit
###chaoslab added fish use dep. cd /var/lib/layman/chaoslab/app-admin/terraform or cd /var/db/repos/chaoslab/app-admin/terraform
generation of rpmspec and aarch64 rpm /var/tmp/portage/app-admin/terraform...... vrsion etc RPMS , etc.. ##dh-make-golang |
dh-make-golang-terraform.log.txt https://carlosbecker.com/posts/nfpm/ |
Given the impending release of Apple Silicon darwin_arm64 and the use case of android_arm64 on things like the fold2, for me personally, this would be a very high priority. I am happy to contribute as well if there are any places that make sense outside of the internal build/release cycle. |
I wanted to draw everyone's attention to the fact that the latest beta has a linux arm64 build. Please try it out and let us know if you run into any issues with it! |
Seems to run okay on Ubuntu for arm64 for me. Just my personal thoughts: Android is kinda-sorta-mostly linux. The |
Terraform CLI v0.14.0 is now available for
We have no plans to support Android or any other operating systems on arm64 at this time. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Problem
There is only a pre-compiled arm version for Terraform available the arm64/aarch64 versions is missing. I was able to build it with go 1.8.1 without any errors on a Thunder X.
Fix
Please make a pre-compiled arm64 version from Terraform available unter the download section.
Thanks!
Terraform Version
0.9.5
The text was updated successfully, but these errors were encountered: