52
52
"2024.1" , # OpenVINO short version
53
53
"2024.1.0.15008.f4afc983258" , # OpenVINO version with build number
54
54
),
55
+ "2024.4.0" : (
56
+ "2024.4" , # OpenVINO short version
57
+ "2024.4.0.16579.c3152d32c9c" , # OpenVINO version with build number
58
+ ),
55
59
}
56
60
57
61
@@ -354,6 +358,8 @@ def dockerfile_for_linux(output_file):
354
358
RUN cp /workspace/onnxruntime/include/onnxruntime/core/providers/openvino/openvino_provider_factory.h \
355
359
/opt/onnxruntime/include
356
360
361
+ RUN apt-get update && apt-get install -y --no-install-recommends libtbb2
362
+
357
363
RUN cp /workspace/build/${ONNXRUNTIME_BUILD_CONFIG}/libonnxruntime_providers_openvino.so \
358
364
/opt/onnxruntime/lib && \
359
365
cp ${INTEL_OPENVINO_DIR}/runtime/lib/intel64/libopenvino.so.${ONNXRUNTIME_OPENVINO_VERSION} \
@@ -366,7 +372,7 @@ def dockerfile_for_linux(output_file):
366
372
/opt/onnxruntime/lib && \
367
373
cp ${INTEL_OPENVINO_DIR}/runtime/lib/intel64/libopenvino_onnx_frontend.so.${ONNXRUNTIME_OPENVINO_VERSION} \
368
374
/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
370
376
371
377
RUN OV_SHORT_VERSION=`echo ${ONNXRUNTIME_OPENVINO_VERSION} | awk '{ split($0,a,"."); print substr(a[1],3) a[2] a[3] }'` && \
372
378
(cd /opt/onnxruntime/lib && \
@@ -657,4 +663,4 @@ def preprocess_gpu_flags():
657
663
FLAGS .ort_openvino = None
658
664
dockerfile_for_windows (FLAGS .output )
659
665
else :
660
- dockerfile_for_linux (FLAGS .output )
666
+ dockerfile_for_linux (FLAGS .output )
0 commit comments