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

aarch64 support #7

Open
barzilouik opened this issue Jan 28, 2017 · 4 comments
Open

aarch64 support #7

barzilouik opened this issue Jan 28, 2017 · 4 comments

Comments

@barzilouik
Copy link

I read in the cmake that the architecture aarch64 (for pine64) is not supported.
What would it take to make it compliant with such a board ?

@avilleret
Copy link
Member

avilleret commented Jan 28, 2017

it seems that pine64 architecture is pretty similar to Raspberry Pi, so I guess there is no big issue with architecture.
CMake should detect itself which arch you're building for but it is assumed in several part that arch is Raspberry Pi, so the main issue will be to find the right library which might not be in the same place as in Raspberry Pi.
For example here is a RPi specific statement : https://github.com/ofnode/of/blob/master/CMakeLists.txt#L828-L833

@avilleret
Copy link
Member

avilleret commented Jan 28, 2017

Concerning 64bit support for arm, this line https://github.com/ofnode/of/blob/master/CMakeLists.txt#L125 should be modified to deduce architecture bit from target architecture.

And concerning armv8 support, we should tweak some statement to either generalize armv7 specific command to other arm* or add armv8 specific statement (like compilation flag here https://github.com/ofnode/of/blob/master/CMakeLists.txt#L1031)

@barzilouik
Copy link
Author

It seems to be more a concern with the #define TARGET_RASPBERRY_PI in OpenFrameworks :
https://github.com/openframeworks/openFrameworks/search?q=TARGET_RASPBERRY_PI

It sounds like a hard task for adding on more board ...

@avilleret
Copy link
Member

not sure because openframeworks build for generic armv7, which should work on armv8 too.
for me the main concern is more 64 bit support (well you could still build 32bit instead).

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