From: Wook Song Date: Tue, 14 Jan 2020 08:22:49 +0000 (+0900) Subject: [Dist/Debian] Fix build error on not-x86_64 architectures X-Git-Tag: accepted/tizen/unified/20200117.045256~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=af8f07db56d20c4b9032187792013c2cc8bde3a0;p=platform%2Fupstream%2Fdldt.git [Dist/Debian] Fix build error on not-x86_64 architectures This patch fixes errors while building on not-x86_64 architectures. Change-Id: I9b04e34e9eb49c15c9cea6017eb9c4881479f318 Signed-off-by: Wook Song --- diff --git a/debian/rules b/debian/rules index cdf3009..1a6e456 100755 --- a/debian/rules +++ b/debian/rules @@ -19,8 +19,10 @@ VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/^[[:digit:]]*://' -e 's/[~-].*/ ifneq ($(filter $(DEB_HOST_ARCH),amd64),) ENABLE_MKL_DNN=ON +ENABLE_SSE42=1 else ENABLE_MKL_DNN=OFF +ENABLE_SSE42=0 endif %: @@ -48,7 +50,7 @@ override_dh_auto_configure: -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 \