Skip to content

Commit 26649c2

Browse files
committed
add back libtbb
1 parent 9c8f5b2 commit 26649c2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tools/gen_ort_dockerfile.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,8 @@ def dockerfile_for_linux(output_file):
360360
RUN cp /workspace/onnxruntime/include/onnxruntime/core/providers/openvino/openvino_provider_factory.h \
361361
/opt/onnxruntime/include
362362
363+
RUN apt-get update && apt-get install -y --no-install-recommends libtbb2
364+
363365
RUN cp /workspace/build/${ONNXRUNTIME_BUILD_CONFIG}/libonnxruntime_providers_openvino.so \
364366
/opt/onnxruntime/lib && \
365367
cp ${INTEL_OPENVINO_DIR}/runtime/lib/intel64/libopenvino.so.${ONNXRUNTIME_OPENVINO_VERSION} \
@@ -371,7 +373,8 @@ def dockerfile_for_linux(output_file):
371373
cp ${INTEL_OPENVINO_DIR}/runtime/lib/intel64/libopenvino_ir_frontend.so.${ONNXRUNTIME_OPENVINO_VERSION} \
372374
/opt/onnxruntime/lib && \
373375
cp ${INTEL_OPENVINO_DIR}/runtime/lib/intel64/libopenvino_onnx_frontend.so.${ONNXRUNTIME_OPENVINO_VERSION} \
374-
/opt/onnxruntime/lib
376+
/opt/onnxruntime/lib && \
377+
cp /usr/lib/x86_64-linux-gnu/libtbb.so.* /opt/onnxruntime/lib
375378
376379
RUN OV_SHORT_VERSION=`echo ${ONNXRUNTIME_OPENVINO_VERSION} | awk '{ split($0,a,"."); print substr(a[1],3) a[2] a[3] }'` && \
377380
(cd /opt/onnxruntime/lib && \

0 commit comments

Comments
 (0)