Skip to content

Commit 3d0a4e5

Browse files
mc-nvyinggeh
andauthored
fix: ONNX Runtime build (#308)
* Include commit to support respective TRT version (#306) * Include missed commit * Adding required changes to the build. * Update tools/gen_ort_dockerfile.py Co-authored-by: Yingge He <[email protected]> --------- Co-authored-by: Yingge He <[email protected]> * Addressing file upstream checksum change --------- Co-authored-by: Yingge He <[email protected]>
1 parent cf4cd89 commit 3d0a4e5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tools/gen_ort_dockerfile.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,11 @@ def dockerfile_for_linux(output_file):
275275
ARG ONNXRUNTIME_REPO
276276
ARG ONNXRUNTIME_BUILD_CONFIG
277277
278-
RUN git clone -b rel-${ONNXRUNTIME_VERSION} --recursive ${ONNXRUNTIME_REPO} onnxruntime && \
279-
(cd onnxruntime && git submodule update --init --recursive)
278+
# Cherry-pick commit: https://github.com/microsoft/onnxruntime/commit/9dad9af9f9b48c05814d0c2d067d0565e8da6ce8
279+
RUN git clone -b rel-${ONNXRUNTIME_VERSION} --recursive ${ONNXRUNTIME_REPO} onnxruntime \\
280+
&& cd onnxruntime \\
281+
&& git cherry-pick -n 9dad9af9f9b48c05814d0c2d067d0565e8da6ce8 \\
282+
&& sed -i 's/5ea4d05e62d7f954a46b3213f9b2535bdd866803/51982be81bbe52572b54180454df11a3ece9a934/g' cmake/deps.txt
280283
"""
281284

282285
if FLAGS.onnx_tensorrt_tag != "":

0 commit comments

Comments
 (0)