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

ARM Build #5

Closed
judsonmitchell opened this issue Oct 23, 2015 · 6 comments
Closed

ARM Build #5

judsonmitchell opened this issue Oct 23, 2015 · 6 comments

Comments

@judsonmitchell
Copy link
Contributor

This looks like a great project. Any chance your can release a build for ARM machines? I'm hesitant to try compiling it myself....

@cortesi
Copy link
Owner

cortesi commented Oct 23, 2015

Yes, I could. ARM Linux?

By the way, you might be very, very pleasantly surprised at how easy it is to cross-compile in Go. Go's tooling is excellent, and cross-compilation generally "just works". This command will procude a working ARM devd binary in the repo:

env GOOS=linux GOARCH=arm GOARM=7 go build

Yes, it really is that simple.

@judsonmitchell
Copy link
Contributor Author

Yes, ARM Linux would be great. You're right, though, that is easy!

@judsonmitchell
Copy link
Contributor Author

I was able to do it with the help of gox. Thanks!

@judsonmitchell
Copy link
Contributor Author

I spoke too soon. Running the binary on my ARM machine, I get:

panic: could not locate box "templates"

How would I build so those files are included?

@judsonmitchell
Copy link
Contributor Author

Ok, got it working by manually installing go.rice and modifying the build bash script in the devd source. If anyone needs the arm binary before cortesi releases one, I've posted a copy here.

@cortesi
Copy link
Owner

cortesi commented Oct 23, 2015

@judsonmitchell: I would definitely merge a pull request that added ARM support to that build script... ;)

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