This repository was archived by the owner on Nov 19, 2024. It is now read-only.
File tree 3 files changed +14
-2
lines changed
3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 27
27
# That's too complicated and unneeded. Better auto-download binary libs for your system as it was before.
28
28
#
29
29
# -D BUILD_SHARED_LIBS=ON \ always crash
30
+ #
31
+ # for ENABLE_SSE42/AVX2/AVX512F see dldt/inference-engine/src/extension/cmake/OptimizationFlags.cmake
32
+ #
33
+ # if you'll set -D ENABLE_PLUGIN_RPATH=ON, you'll need to chrpath ~4 *.so, better to setrpath one .so
30
34
31
35
cmake -D CMAKE_BUILD_TYPE=Release \
32
36
-D THREADING=TBB \
@@ -49,4 +53,7 @@ cmake -D CMAKE_BUILD_TYPE=Release \
49
53
-D ENABLE_GNA=OFF \
50
54
-D ENABLE_PROFILING_ITT=OFF \
51
55
-D ENABLE_ALTERNATIVE_TEMP=OFF \
56
+ -D ENABLE_SSE42=ON \
57
+ -D ENABLE_AVX2=ON \
58
+ -D ENABLE_AVX512F=OFF \
52
59
-D ENABLE_CLDNN=OFF ../../dldt/inference-engine/
Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ export PKG_CONFIG_LIBDIR=$FFMPEG_PATH/lib/:$PKG_CONFIG_LIBDIR
16
16
PY_VER=` $ABS_PORTION /venv/bin/python3 --version | sed -rn " s/Python .\.(.)\..$/\1/p" `
17
17
PY_LIB_PATH=` find $ABS_PORTION /venv/lib/ -iname libpython3.${PY_VER} m.so`
18
18
19
+ # >=dldt-2019_R2 requires SSE4_2 (?)
20
+ # for CPU_BASELINE and CPU_DISPATCH see https://github.com/opencv/opencv/wiki/CPU-optimizations-build-options
21
+ # they should match with ones for dldt/inference-engine/src/extension/cmake/OptimizationFlags.cmake
19
22
cmake -D CMAKE_BUILD_TYPE=RELEASE \
20
23
-D OPENCV_FORCE_3RDPARTY_BUILD=ON \
21
24
-D OPENCV_SKIP_PYTHON_LOADER=ON \
@@ -76,4 +79,6 @@ cmake -D CMAKE_BUILD_TYPE=RELEASE \
76
79
-D WITH_CUDA=OFF \
77
80
-D INF_ENGINE_INCLUDE_DIRS=$ABS_PORTION /dldt/inference-engine/include \
78
81
-D INF_ENGINE_LIB_DIRS=$ABS_PORTION /dldt/inference-engine/bin/intel64/Release/lib \
79
- -D WITH_INF_ENGINE=ON ../../opencv
82
+ -D WITH_INF_ENGINE=ON \
83
+ -D CPU_BASELINE=SSE4_2 \
84
+ -D CPU_DISPATCH=AVX,AVX2 ../../opencv
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ def __len__(self):
15
15
16
16
setuptools .setup (
17
17
name = "opencv-python-inference-engine" ,
18
- version = "4.1.1.0 " ,
18
+ version = "4.1.1.1 " ,
19
19
url = "https://github.com/banderlog/opencv-python-inference-engine" ,
20
20
maintainer = "Kabakov Borys" ,
21
21
license = 'MIT, BSD' ,
You can’t perform that action at this time.
0 commit comments