This patch fixes errors while building on not-x86_64 architectures.
Change-Id: I9b04e34e9eb49c15c9cea6017eb9c4881479f318
Signed-off-by: Wook Song <wook16.song@samsung.com>
ifneq ($(filter $(DEB_HOST_ARCH),amd64),)
ENABLE_MKL_DNN=ON
+ENABLE_SSE42=1
else
ENABLE_MKL_DNN=OFF
+ENABLE_SSE42=0
endif
%:
-DBUILD_SHARED_LIBS:BOOL=OFF -DENABLE_ALTERNATIVE_TEMP=OFF \
-DUSE_TBB_SYSTEM_DEPS=ON -DUSE_MYRIAD_SYSTEM_DEPS=ON \
-DENABLE_VPU=ON -DENABLE_MYRIAD=ON -DENABLE_MYRIAD_MVNC_TESTS=OFF -DENABLE_MYRIAD_NO_BOOT=OFF \
- -DENABLE_MKL_DNN=$(ENABLE_MKL_DNN) -DENABLE_GNA=OFF \
+ -DENABLE_MKL_DNN=$(ENABLE_MKL_DNN) -DENABLE_SSE42=$(ENABLE_SSE42) -DENABLE_GNA=OFF \
-DBUILD_ADE_DOCUMENTATION=OFF -DBUILD_ADE_TUTORIAL=OFF \
-DBUILD_TESTING=OFF -DBUILD_TESTS=OFF \
-DCLDNN__INCLUDE_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=Release -DCOVERAGE=OFF \