From 8b404ade3eb376ef0619a039396823f7e2e462e0 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 15 Feb 2019 16:52:55 -0800 Subject: docs: Add note on manually disabling NEON extensions --- host/docs/build.dox | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'host') diff --git a/host/docs/build.dox b/host/docs/build.dox index 9a6beba20..b5e9caaf5 100644 --- a/host/docs/build.dox +++ b/host/docs/build.dox @@ -170,6 +170,17 @@ or add it to `/etc/ld.so.conf` and make sure to run: sudo ldconfig +\subsection build_instructions_unix_arm Compiling for ARM platforms + +When compiling for ARM platforms, the assumption is made that NEON extensions +are available if the arm_neon.h header is found. However, this might not be +true, e.g., when cross-compiling for an arm7l target (e.g., the Odroid XU4) +using a standard SDK. In this case, it's necessary to tell CMake to disable NEON +extensions: + + cmake -DNEON_SIMD_ENABLE=OFF [...] + + \section build_instructions_windows Build Instructions (Windows) \subsection cmake_win Generate the project with CMake -- cgit v1.2.3