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 docker build #14

Open
ryoppippi opened this issue Oct 4, 2022 · 5 comments
Open

Arm docker build #14

ryoppippi opened this issue Oct 4, 2022 · 5 comments
Labels
build enhancement New feature or request

Comments

@ryoppippi
Copy link
Member

No description provided.

@ryoppippi ryoppippi added the enhancement New feature or request label Oct 4, 2022
@matu3ba
Copy link

matu3ba commented Oct 7, 2022

Zig libstd has also support for using qemu runner. Not sure if that is simpler to use.

@ryoppippi
Copy link
Member Author

@matu3ba
Thanks.
If you can do this, could you send us a PR?

@ryoppippi
Copy link
Member Author

ryoppippi commented Oct 7, 2022

One thing I am curious about is opencv's dependence on blas, etc. it is hard to cross-compile all those libs

@matu3ba
Copy link

matu3ba commented Oct 8, 2022

From what I know, ARM32 doesnt work due to one missing header in Zig (there is an open PR for it).
Otherwise, there are several guides like this one https://pranavnatekar.medium.com/cross-compile-opencv-for-risc-v-460305012adb or this one for embedded https://medium.com/analytics-vidhya/the-ultimate-opencv-cross-compilation-guide-for-embedded-processors-f2fdc8ccb7b2

Maybe I am too naive, but opencv should have a build system that supports cross-compilation of core dependencies.
Blas is also relative simple to cross-compile, if you know what your are doing: OpenMathLib/OpenBLAS#1810

Though I am not entirely sure, because the wiki of opencv appears to be outdated.

Can you list the dependencies, 1. which are required for cross-compilation and 2. which have no build system integration of opencv?

@ryoppippi
Copy link
Member Author

@matu3ba
Thank you for suggesting a lot and sorry for my lateness.
Please give me time to investigate (unfortunately I do not have time so much in this month)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants