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

How to build NNPACK for Linux ARM? (Not Android) #164

Open
deansay opened this issue Apr 2, 2019 · 0 comments
Open

How to build NNPACK for Linux ARM? (Not Android) #164

deansay opened this issue Apr 2, 2019 · 0 comments

Comments

@deansay
Copy link

deansay commented Apr 2, 2019

The CMakefile of NNPACK is too complex. How should I build NNPACK for Linux ARM.
Like this...

SET(TARGET_SYSROOT ${LINUX_BUILD_ROOT}/host/usr/arm-buildroot-linux-gnueabi${HARD_FLOAT}/sysroot)
SET(TARGET_C_COMPILER ${LINUX_TOOLCHAIN}/bin/arm-linux-gnueabi${HARD_FLOAT}-gcc)
SET(TARGET_CXX_COMPILER ${LINUX_TOOLCHAIN}/bin/arm-linux-gnueabi${HARD_FLOAT}-g++)

SET(CMAKE_C_FLAGS "-rdynamic -pipe -marm -mfpu=neon -mcpu=cortex-a7 -Wall -W  -Wno-unused-parameter -Wno-sign-compare -Wno-int-conversion -D_REENTRANT")
SET(CMAKE_CXX_FLAGS "-rdynamic -pipe -marm -mfpu=neon -mcpu=cortex-a7 -Wall -W  -Wno-unused-parameter -Wno-sign-compare -Wno-int-conversion  -D_REENTRANT")

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