Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Commit f67896e

Browse files
committed
update scripts
1 parent 1500f09 commit f67896e

File tree

3 files changed

+34
-2
lines changed

3 files changed

+34
-2
lines changed

scripts/.clang-format

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
# Language: Cpp
3+
BasedOnStyle: LLVM
4+
ColumnLimit: 120
5+
IndentWidth: 4
6+
AllowShortFunctionsOnASingleLine: None
7+
AllowShortBlocksOnASingleLine: false
8+
AlwaysBreakTemplateDeclarations: Yes
9+
CompactNamespaces: false
10+
...

scripts/install_cmake.sh

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/bash
2+
# ==============================================================================
3+
# Copyright (C) 2018-2019 Intel Corporation
4+
#
5+
# SPDX-License-Identifier: MIT
6+
# ==============================================================================
7+
8+
CURDIR=$PWD
9+
cd /tmp/
10+
11+
CMAKE_VER=3.13.1
12+
CMAKE_REPO=https://cmake.org/files
13+
wget -O - ${CMAKE_REPO}/v${CMAKE_VER%.*}/cmake-${CMAKE_VER}.tar.gz | tar xz && \
14+
cd cmake-${CMAKE_VER} && \
15+
./bootstrap --prefix="/usr" --system-curl && \
16+
make -j $(nproc) && \
17+
make install
18+
19+
cd $CURDIR

scripts/install_ie_c_api.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@
88
CURDIR=$PWD
99
cd /tmp/
1010

11-
tar -zxvf $CURDIR/../thirdparty/dldt-c-api/source/dldt-c_api_v2-1.0.tar.gz && \
12-
cd dldt-c_api-1.0 && \
11+
#make sure you have openvino built or installed
12+
source /opt/intel/openvino/bin/setupvars.sh
13+
14+
tar -zxvf $CURDIR/../thirdparty/dldt-c-api/source/v2.0.0.tar.gz && \
15+
cd dldt-c_api-2.0.0 && \
1316
mkdir -p build && cd build && \
1417
cmake -DENABLE_AVX512F=OFF .. && \
1518
make -j8 && \

0 commit comments

Comments
 (0)