Skip to content

Commit

Permalink
ORT 1.17.0 has dropped header dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mc-nv committed Feb 1, 2024
1 parent 6817662 commit 9742c60
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tools/gen_ort_dockerfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,7 @@ def dockerfile_for_linux(output_file):
if FLAGS.ort_tensorrt:
df += """
# TensorRT specific headers and libraries
RUN cp /workspace/onnxruntime/include/onnxruntime/core/providers/tensorrt/tensorrt_provider_factory.h \
/opt/onnxruntime/include && \
cp /workspace/build/${ONNXRUNTIME_BUILD_CONFIG}/libonnxruntime_providers_tensorrt.so \
RUN cp /workspace/build/${ONNXRUNTIME_BUILD_CONFIG}/libonnxruntime_providers_tensorrt.so \
/opt/onnxruntime/lib
"""

Expand Down Expand Up @@ -468,9 +466,6 @@ def dockerfile_for_windows(output_file):
if FLAGS.ort_tensorrt:
df += """
# TensorRT specific headers and libraries
WORKDIR /opt/onnxruntime/include
RUN copy \\workspace\\onnxruntime\\include\\onnxruntime\\core\\providers\\tensorrt\\tensorrt_provider_factory.h \\opt\\onnxruntime\\include
WORKDIR /opt/onnxruntime/lib
RUN copy \\workspace\\build\\Release\\Release\\onnxruntime_providers_tensorrt.dll \\opt\\onnxruntime\\bin
Expand Down

0 comments on commit 9742c60

Please sign in to comment.