Priority: optional
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,
+ gcc-10 | gcc-8 | gcc-7 | gcc-6 | gcc-5,
+ g++-10 | g++-8 | g++-7 | g++-6 | g++-5,
libusb-1.0-0-dev
Standards-Version: 4.1.4
Vcs-Git: git://git.tizen.org/platform/upstream/dldt
cd $(SRC_ROOT)/inference-engine/thirdparty && \
rm -rf *.tar.gz $(EXTERNAL_NGRAPH_ARCHIVE)
cd $(SRC_ROOT)/inference-engine && rm -rf build && mkdir -p build
- cd $(SRC_ROOT)/inference-engine/build && cmake .. \
+ cd $(SRC_ROOT)/inference-engine/build && if [ -f /usr/bin/gcc-10 ]; then export CC=/usr/bin/gcc-10 && export CXX=/usr/bin/g++-10; fi && cmake .. \
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=$(PREFIX) \
-DCMAKE_INSTALL_LIBDIR:PATH=$(LIBDIR) -DINCLUDE_INSTALL_DIR:PATH=$(INCDIR) \
-DLIB_INSTALL_DIR:PATH=$(LIBDIR) -DSYSCONF_INSTALL_DIR:PATH=$(SYSCONFDIR) \
-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
+ -DTREAT_WARNING_AS_ERROR=OFF \
+ -DCMAKE_CXX_FLAGS="-Wno-odr -fno-lto"
+
override_dh_auto_build:
dh_auto_build --builddirectory=$(SRC_ROOT)/inference-engine/build --