ref: a6b5bf1ef9a542a647ca4e7333547e97bde0e55f
parent: 81b3910a9829de70e3756af22adcd70f96691f8d
author: Paul Brossier <piem@piem.org>
date: Sun Oct 1 11:28:17 EDT 2017
src/aubio_priv.h: include ipp headers from here
--- a/src/aubio_priv.h
+++ b/src/aubio_priv.h
@@ -123,7 +123,13 @@
#endif /* HAVE_AUBIO_DOUBLE */
#endif /* HAVE_ATLAS */
-#if !defined(HAVE_MEMCPY_HACKS) && !defined(HAVE_ACCELERATE) && !defined(HAVE_ATLAS)
+#if defined HAVE_INTEL_IPP
+#include <ippcore.h>
+#include <ippvm.h>
+#include <ipps.h>
+#endif
+
+#if !defined(HAVE_MEMCPY_HACKS) && !defined(HAVE_ACCELERATE) && !defined(HAVE_ATLAS) && !defined(HAVE_INTEL_IPP)
#define HAVE_NOOPT 1
#else
#undef HAVE_NOOPT
--- a/src/cvec.c
+++ b/src/cvec.c
@@ -21,12 +21,6 @@
#include "aubio_priv.h"
#include "cvec.h"
-#if defined HAVE_INTEL_IPP
-#include <ippcore.h>
-#include <ippvm.h>
-#include <ipps.h>
-#endif
-
cvec_t * new_cvec(uint_t length) {
cvec_t * s;
if ((sint_t)length <= 0) {
--- a/src/fvec.c
+++ b/src/fvec.c
@@ -21,12 +21,6 @@
#include "aubio_priv.h"
#include "fvec.h"
-#if defined HAVE_INTEL_IPP
-#include <ippcore.h>
-#include <ippvm.h>
-#include <ipps.h>
-#endif
-
fvec_t * new_fvec(uint_t length) {
fvec_t * s;
if ((sint_t)length <= 0) {
--- a/src/mathutils.c
+++ b/src/mathutils.c
@@ -25,12 +25,6 @@
#include "mathutils.h"
#include "musicutils.h"
-#if defined HAVE_INTEL_IPP
-#include <ippcore.h>
-#include <ippvm.h>
-#include <ipps.h>
-#endif
-
/** Window types */
typedef enum
{