5252 "2024.1" , # OpenVINO short version
5353 "2024.1.0.15008.f4afc983258" , # OpenVINO version with build number
5454 ),
55+ "2024.4.0" : (
56+ "2024.4" , # OpenVINO short version
57+ "2024.4.0.16579.c3152d32c9c" , # OpenVINO version with build number
58+ ),
5559}
5660
5761
@@ -354,6 +358,8 @@ def dockerfile_for_linux(output_file):
354358RUN cp /workspace/onnxruntime/include/onnxruntime/core/providers/openvino/openvino_provider_factory.h \
355359 /opt/onnxruntime/include
356360
361+ RUN apt-get update && apt-get install -y --no-install-recommends libtbb2
362+
357363RUN cp /workspace/build/${ONNXRUNTIME_BUILD_CONFIG}/libonnxruntime_providers_openvino.so \
358364 /opt/onnxruntime/lib && \
359365 cp ${INTEL_OPENVINO_DIR}/runtime/lib/intel64/libopenvino.so.${ONNXRUNTIME_OPENVINO_VERSION} \
@@ -366,7 +372,7 @@ def dockerfile_for_linux(output_file):
366372 /opt/onnxruntime/lib && \
367373 cp ${INTEL_OPENVINO_DIR}/runtime/lib/intel64/libopenvino_onnx_frontend.so.${ONNXRUNTIME_OPENVINO_VERSION} \
368374 /opt/onnxruntime/lib && \
369- cp /usr/lib/x86_64-linux-gnu/libtbb.so.12 /opt/onnxruntime/lib
375+ cp /usr/lib/x86_64-linux-gnu/libtbb.so.* /opt/onnxruntime/lib
370376
371377RUN OV_SHORT_VERSION=`echo ${ONNXRUNTIME_OPENVINO_VERSION} | awk '{ split($0,a,"."); print substr(a[1],3) a[2] a[3] }'` && \
372378 (cd /opt/onnxruntime/lib && \
@@ -657,4 +663,4 @@ def preprocess_gpu_flags():
657663 FLAGS .ort_openvino = None
658664 dockerfile_for_windows (FLAGS .output )
659665 else :
660- dockerfile_for_linux (FLAGS .output )
666+ dockerfile_for_linux (FLAGS .output )
0 commit comments