-
Notifications
You must be signed in to change notification settings - Fork 3.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
update makefile to add support for arm builds #476
Conversation
@bbinet thanks for contributing to InfluxDB. It's awesome to have an arm package. I'll review the pr asap and will merge it if everything looks fine on my side. |
@jvshahid please note that I've tried to generate the deb package only (I don't know if building arm rpm actually works). For information I'm using the cross compilation toolchain from rpi tools repository: https://github.com/raspberrypi/tools |
Any chance this patch to be merged? |
@bbinet sorry, we were working on bug fixes all of last week. It's still on my todo list, so it will be merged soon. |
@bbinet so far I tested the new makefile on my dev machine which works perfectly. Our release vm is runnign centos and the packages I'm looking for aren't available so I'll have to look for a way to generate arm cross compiler. crosstool-ng looks promising. I'd like to give it a try and upload a package for you to try. |
@jvshahid no problem, send me the arm package and I'll test it on my cubieboard arm board. |
Can you give the packages I uploaded a try and let us know how it works for you. You can find them here https://github.com/influxdb/influxdb/releases/tag/v0.7.0 |
On rpi i'm getting wrong architecture error:
uname:
|
Sorry for my late aswer, I get the same error as @oroce on my cubieboard:
My original patch would generate packages for the armhf architecture which should work for both the cubieboard and the raspberry pi. |
I needed to update the makefile with this patch to be able to cross-compile influxdb to ARM architecture and to generate a package for the cubieboard arm board (should be the same for a raspberry pi).