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 (raspian et al.) #115

Open
corbolais opened this issue Apr 19, 2019 · 2 comments
Open

arm build (raspian et al.) #115

corbolais opened this issue Apr 19, 2019 · 2 comments
Labels

Comments

@corbolais
Copy link

Hi,
Thanks for providing homematic-manager.
I noticed the builds are amd64-only. Could you provide source and/or builds for armhf architecture?
It would be highly appreciated.
cheers

@hobbyquaker
Copy link
Owner

hobbyquaker commented Oct 15, 2019

It's not really practically possible to crosscompile this project (cause of node-gyp limitations), so I can't build that on a CI Service like Travis or Appveyor, they only have x86 arch available. Doing it in an emulated env via qemu is also not really practically doable on travis. Until know I'm not aware of any service that offers travis/appveyor-like functionality free of charge and supports arm arches.

So for now: you have to build it yourself on the target arch. Basically that means:

  • install latest nodejs 8.x (I recommend to use https://github.com/tj/n for node installation)
  • make sure that build-essential (gcc, make, ...) and python/gyp is installed
  • clone the hm-manager repo
  • run npm install
  • run npm run dist
  • find the build in the dist/ folder.

@corbolais
Copy link
Author

Fair enough!
Thank you.
Won't do it right now, though (time-constraints).
cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants