Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hardcoding libonnxruntime.so.1 library name reference value #264

Merged
merged 7 commits into from
Aug 16, 2024
3 changes: 2 additions & 1 deletion tools/gen_ort_dockerfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,8 @@ def dockerfile_for_linux(output_file):
# Linking compiled ONNX Runtime libraries to their corresponding versioned libraries
df += """
RUN cd /opt/onnxruntime/lib \
&& ln -s libonnxruntime.so libonnxruntime.so.${ONNXRUNTIME_VERSION}
&& ln -s libonnxruntime.so libonnxruntime.so.1 \
&& ln -s libonnxruntime.so.1 libonnxruntime.so.${ONNXRUNTIME_VERSION}
"""
df += """
RUN cd /opt/onnxruntime/lib && \
Expand Down
Loading