[PATCH 2/6] make acc happy
authorA. Maitland Bottoms <bottoms@debian.org>
Wed, 28 Mar 2018 02:02:59 +0000 (22:02 -0400)
committerA. Maitland Bottoms <bottoms@debian.org>
Wed, 21 Dec 2022 01:03:23 +0000 (01:03 +0000)
The abi-compliance-checker grabs all the .h files it finds
and tries to compile them all. Even though some are not
appropriate for the architecture being run on. Being careful
with preprocessor protections avoids problems.

Gbp-Pq: Name make-acc-happy

include/volk/volk_neon_intrinsics.h
kernels/volk/volk_32f_8u_polarbutterflypuppet_32f.h

index 3c8032a1672f7b1121d26dcc0e7eb0d2b2ae9966..b97247abb1ec49564b3e3836d070655560033229 100644 (file)
@@ -66,6 +66,7 @@
 
 #ifndef INCLUDE_VOLK_VOLK_NEON_INTRINSICS_H_
 #define INCLUDE_VOLK_VOLK_NEON_INTRINSICS_H_
+#ifdef LV_HAVE_NEON
 #include <arm_neon.h>
 
 
@@ -281,4 +282,5 @@ static inline float32x4_t _neon_accumulate_square_sum_f32(float32x4_t sq_acc,
 #endif
 }
 
+#endif /*LV_HAVE_NEON*/
 #endif /* INCLUDE_VOLK_VOLK_NEON_INTRINSICS_H_ */
index e5e113db5c9e11c247249cbc0c0333104646635c..2381dd31a1e0360a56709e131fd77c553911496f 100644 (file)
@@ -18,6 +18,7 @@
 #include <volk/volk_32f_8u_polarbutterfly_32f.h>
 #include <volk/volk_8u_x3_encodepolar_8u_x2.h>
 #include <volk/volk_8u_x3_encodepolarpuppet_8u.h>
+#include <volk/volk_8u_x2_encodeframepolar_8u.h>
 
 
 static inline void sanitize_bytes(unsigned char* u, const int elements)