summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWook Song <wook16.song@samsung.com>2020-01-14 17:22:49 +0900
committerWook Song <wook16.song@samsung.com>2020-01-14 17:22:49 +0900
commitaf8f07db56d20c4b9032187792013c2cc8bde3a0 (patch)
tree3234121db649a2bc736a7d336e873513b4e804a7
parent29b263feaff50a1ccc090fd1082f400c4f34b0fe (diff)
downloaddldt-af8f07db56d20c4b9032187792013c2cc8bde3a0.tar.gz
dldt-af8f07db56d20c4b9032187792013c2cc8bde3a0.tar.bz2
dldt-af8f07db56d20c4b9032187792013c2cc8bde3a0.zip
[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 <wook16.song@samsung.com>
-rwxr-xr-xdebian/rules4
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index cdf300972..1a6e456f3 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 \