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

CMAKE Parameters for armv6+vfp build #4636

Open
samveen opened this issue Apr 10, 2023 · 0 comments
Open

CMAKE Parameters for armv6+vfp build #4636

samveen opened this issue Apr 10, 2023 · 0 comments

Comments

@samveen
Copy link

samveen commented Apr 10, 2023

I'm trying to build tf-lite with XNNPACK enabled for armv6+vfp architecture(RasPi 1/Zero/Zero W), which fails due to cmake adding -march=armv8.2-a+dotprod -mfpu=neon-fp-armv8 to CLFAGS by checks in the CMakeLists.txt . However as I have absolutely no idea of the internals of how tf-lite uses XNNPACK, I started to look at xnnpack itself.

After examining the CMakeLists.txt, I was unable to figure out the flags to be passed to cmake that'll allow xnnpack to be built for armv6+vfp.

How is XNNPACK to be built for this architecture using cmake, given that support for Raspberry Pi Zero W is clearly stated in the README?

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

1 participant