Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 46af98b

Browse files
committed
ubuntu version check
1 parent 7ce0c8e commit 46af98b

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

TODO.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# TODO list
22

3-
+ add Ubuntu version check in tests
4-
+ check JIT speed
5-
+ add examples
63
+ dldt config keeps downloaded libs -- this is bad
4+
+ add examples
5+
+ check JIT speed
76
+ Auto value for `-D INF_ENGINE_RELEASE`: https://github.com/openvinotoolkit/openvino/issues/1435
87
+ https://answers.opencv.org/question/236271/what-the-difference-between-cv_version_status-values/

download_all_stuff.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ red () {
1717

1818
ROOT_DIR=$(pwd)
1919

20+
# check Ubuntu version (20.04 build will not work on 18.04)
21+
if test $(lsb_release -rs) != 18.04; then
22+
red "\n!!! You are NOT on the Ubuntu 18.04 !!!\n"
23+
fi
24+
2025
green "RESET GIT SUBMODULES"
2126
# use `git fetch --unshallow && git checkout tags/<tag>` for update
2227
git submodule update --init --recursive --depth=1 --jobs=4
@@ -26,8 +31,8 @@ git submodule foreach --recursive git restore .
2631
green "CLEAN BUILD DIRS"
2732
find build/dldt/ -mindepth 1 -not -name 'dldt_setup.sh' -not -name '*.patch' -delete
2833
find build/opencv/ -mindepth 1 -not -name 'opencv_setup.sh' -delete
29-
#find build/ffmpeg/ -mindepth 1 -not -name 'ffmpeg_*.sh' -delete
30-
#find build/openblas/ -mindepth 1 -not -name 'openblas_setup.sh' -delete
34+
find build/ffmpeg/ -mindepth 1 -not -name 'ffmpeg_*.sh' -delete
35+
find build/openblas/ -mindepth 1 -not -name 'openblas_setup.sh' -delete
3136

3237
green "CLEAN WHEEL DIR"
3338
find create_wheel/cv2/ -type f -not -name '__init__.py' -delete

0 commit comments

Comments
 (0)