File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -296,9 +296,7 @@ def dockerfile_for_linux(output_file):
296296 if FLAGS .ort_tensorrt :
297297 df += """
298298# TensorRT specific headers and libraries
299- RUN cp /workspace/onnxruntime/include/onnxruntime/core/providers/tensorrt/tensorrt_provider_factory.h \
300- /opt/onnxruntime/include && \
301- cp /workspace/build/${ONNXRUNTIME_BUILD_CONFIG}/libonnxruntime_providers_tensorrt.so \
299+ RUN cp /workspace/build/${ONNXRUNTIME_BUILD_CONFIG}/libonnxruntime_providers_tensorrt.so \
302300 /opt/onnxruntime/lib
303301"""
304302
@@ -467,9 +465,6 @@ def dockerfile_for_windows(output_file):
467465 if FLAGS .ort_tensorrt :
468466 df += """
469467# TensorRT specific headers and libraries
470- WORKDIR /opt/onnxruntime/include
471- RUN copy \\ workspace\\ onnxruntime\\ include\\ onnxruntime\\ core\\ providers\\ tensorrt\\ tensorrt_provider_factory.h \\ opt\\ onnxruntime\\ include
472-
473468WORKDIR /opt/onnxruntime/lib
474469RUN copy \\ workspace\\ build\\ Release\\ Release\\ onnxruntime_providers_tensorrt.dll \\ opt\\ onnxruntime\\ bin
475470
You can’t perform that action at this time.
0 commit comments