Analogous to previous commit but for the KNL/SKX backends.
Cc: Bruce Cherniak <bruce.cherniak@intel.com>
Cc: Tim Rowley <timothy.o.rowley@intel.com>
Cc: Laurent Carlier <lordheavym@gmail.com>
Fixes: 1cb5a6061ce ("configure/swr: add KNL and SKX architecture targets")
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
lib_LTLIBRARIES += libswrKNL.la
libswrKNL_la_CXXFLAGS = \
+ $(PTHREAD_CFLAGS) \
$(SWR_KNL_CXXFLAGS) \
-DKNOB_ARCH=KNOB_ARCH_AVX512 -DAVX512F_STRICT \
$(COMMON_CXXFLAGS)
libswrKNL_la_SOURCES = \
$(COMMON_SOURCES)
+libswrKNL_la_LIBADD = \
+ $(PTHREAD_LIBS)
+
libswrKNL_la_LDFLAGS = \
$(COMMON_LDFLAGS)
endif
lib_LTLIBRARIES += libswrSKX.la
libswrSKX_la_CXXFLAGS = \
+ $(PTHREAD_CFLAGS) \
$(SWR_SKX_CXXFLAGS) \
-DKNOB_ARCH=KNOB_ARCH_AVX512 \
$(COMMON_CXXFLAGS)
libswrSKX_la_SOURCES = \
$(COMMON_SOURCES)
+libswrSKX_la_LIBADD = \
+ $(PTHREAD_LIBS)
+
libswrSKX_la_LDFLAGS = \
$(COMMON_LDFLAGS)
endif