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

Adding support for armhf builds #184

Merged
merged 3 commits into from
Dec 11, 2015
Merged

Adding support for armhf builds #184

merged 3 commits into from
Dec 11, 2015

Conversation

thopiekar
Copy link
Contributor

This is a rewritten PR of #89, which I wrote before.
While reading my old code I decided to code it another way.

I added a detailed description of what I've changed in the first commit. If you want more info, just ask, and feel free to give feedback 😄

Except of using the platform.architecture for the check, I'm using the platform.machine output to check for the cpu detection.
I'm not sure about different outputs on other devices, eg. different ARM versions, so added a dictionary which translates these strings to the correct one found in <jre_home>/lib/*.
In case a platform.machine output is unknown to the dictionary, the code will fall back to i386 like the old code and warn the user about that. A missing translation can be easily added to the dictionary to support other platforms.

WARNING: This commit is untested and was coded via github webpage.
I was sure I'm will miss something..
@tito
Copy link
Member

tito commented Dec 11, 2015

Looks good, thanks!

tito added a commit that referenced this pull request Dec 11, 2015
Adding support for armhf builds
@tito tito merged commit a00ce3d into kivy:master Dec 11, 2015
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

Successfully merging this pull request may close these issues.

2 participants