summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWook Song <wook16.song@samsung.com>2019-12-30 14:26:28 +0900
committerWook Song <wook16.song@samsung.com>2020-01-03 16:36:36 +0900
commitc586f4f74dac9fa3b4708831520d05b1c147fed8 (patch)
tree6c07a80d131250fa99742e9de58f87d52f8e162d
parente56dc290eb158f2fff713a123b3bccc8e5f7ef91 (diff)
downloaddldt-c586f4f74dac9fa3b4708831520d05b1c147fed8.tar.gz
dldt-c586f4f74dac9fa3b4708831520d05b1c147fed8.tar.bz2
dldt-c586f4f74dac9fa3b4708831520d05b1c147fed8.zip
[Dist/Debian/CMake] Enable VPU and MYRIAD options
This patch enables VPU and MYRIAD build options to use Intel Movidius Neural Compute Stick 1 and 2. Currently, all of the plugins are packaged into one, but later, they would be separated into sub-packages. Note that the firmwares for the MVNCS 1 and 2 are excluded and they would be provided other packages. Change-Id: Ie7ad5fd2b4a50a3710acd957f00aefab62454863 Signed-off-by: Wook Song <wook16.song@samsung.com>
-rw-r--r--debian/control3
-rwxr-xr-xdebian/rules10
2 files changed, 7 insertions, 6 deletions
diff --git a/debian/control b/debian/control
index 100dfcef6..d956e3126 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,8 @@ Build-Depends: debhelper (>= 9.0.0), quilt,
cmake, pkg-config,
gcc-9 | gcc-8 | gcc-7 | gcc-6 | gcc-5,
g++-9 | g++-8 | g++-7 | g++-6 | g++-5,
- libtbb-dev (>=2019~U9-0)
+ libtbb-dev (>=2019~U9-0),
+ libusb-1.0-0-dev
Standards-Version: 4.1.4
Vcs-Git: git://git.tizen.org/platform/upstream/dldt
Vcs-Browser: https://git.tizen.org/cgit/platform/upstream/dldt
diff --git a/debian/rules b/debian/rules
index e92137e78..867d56f8b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,17 +39,17 @@ override_dh_auto_configure:
-DCMAKE_INSTALL_LIBDIR:PATH=$(LIBDIR) -DINCLUDE_INSTALL_DIR:PATH=$(INCDIR) \
-DLIB_INSTALL_DIR:PATH=$(LIBDIR) -DSYSCONF_INSTALL_DIR:PATH=$(SYSCONFDIR) \
-DSHARE_INSTALL_PREFIX:PATH=$(DATADIR) \
- -DBUILD_SHARED_LIBS:BOOL=ON \
+ -DBUILD_SHARED_LIBS:BOOL=OFF -DBUILD_PKGCONFIG=OFF \
+ -DENABLE_VPU=ON -DENABLE_MYRIAD=ON -DENABLE_MYRIAD_MVNC_TESTS=OFF -DENABLE_MYRIAD_NO_BOOT=OFF \
-DUSE_TBB_SYSTEM_DEPS=ON -DBUILD_ADE_DOCUMENTATION=OFF -DBUILD_ADE_TUTORIAL=OFF \
- -DBUILD_PKGCONFIG=OFF -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=OFF -DBUILD_TESTS=OFF \
+ -DBUILD_TESTING=OFF -DBUILD_TESTS=OFF \
-DCLDNN__INCLUDE_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=Release -DCOVERAGE=OFF \
- -DDEVELOPMENT_PLUGIN_MODE=OFF -DENABLE_VPU=OFF -DENABLE_ADE_TESTING=OFF \
+ -DDEVELOPMENT_PLUGIN_MODE=OFF -DENABLE_ADE_TESTING=OFF \
-DENABLE_AFFINITY_GENERATOR=OFF -DENABLE_ALTERNATIVE_TEMP=OFF -DENABLE_CLDNN=OFF \
-DENABLE_CLDNN_BUILD=OFF -DENABLE_CLDNN_TESTS=OFF -DENABLE_CPPCHECK=OFF -DENABLE_CPPLINT=OFF \
-DENABLE_CPPLINT_REPORT=OFF -DENABLE_CPP_CCT=OFF -DENABLE_DEBUG_SYMBOLS=OFF \
-DENABLE_FUZZING=OFF -DENABLE_GAPI_TESTS=OFF -DENABLE_GNA=OFF -DENABLE_LTO=OFF \
- -DENABLE_MKL_DNN=OFF -DENABLE_MYRIAD=OFF -DENABLE_MYRIAD_MVNC_TESTS=OFF -DENABLE_MYRIAD_NO_BOOT=OFF \
- -DENABLE_OBJECT_DETECTION_TESTS=ON -DENABLE_OPENCV=OFF -DENABLE_PLUGIN_RPATH=OFF \
+ -DENABLE_MKL_DNN=OFF -DENABLE_OBJECT_DETECTION_TESTS=ON -DENABLE_OPENCV=OFF -DENABLE_PLUGIN_RPATH=OFF \
-DENABLE_PROFILING_ITT=OFF -DENABLE_PROFILING_RAW=OFF -DENABLE_PYTHON=OFF -DENABLE_ROCKHOPER=OFF \
-DENABLE_SAMPLES=OFF -DENABLE_SAMPLES_CORE=OFF -DENABLE_SEGMENTATION_TESTS=OFF -DENABLE_TESTS=ON \
-DTREAT_WARNING_AS_ERROR=OFF