Skip to content

[Cherry-pick] Fix Windows Release CI failure due to unresolved external symbol #5689

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

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

jcwchen
Copy link
Member

@jcwchen jcwchen commented Oct 20, 2023

Description

Cherry-pick #5678.

Motivation and Context

To fix Windows Release CI failure due to unresolved external symbol: cherry-pick #5678.

…x#5678)

### Description
<!-- - Describe your changes. -->
Fix Windows Release CI failure : `onnx.lib(checker.obj) : error LNK2001:
unresolved external symbol "public: int __thiscall
google::protobuf::RepeatedField<int>::size(void)const "
(?size@?$RepeatedField@H@protobuf@google@@QBEHXZ)
[D:\a\onnx\onnx\onnx\.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]`
by setting PATH properly. We should use prepend instead of append.

### Motivation and Context
<!-- - Why is this change required? What problem does it solve? -->
<!-- - If it fixes an open issue, please link to the issue here. -->
Try to fix onnx#5659. Currently Windows
Release CI starts to fail after onnx#5596.

---------

Signed-off-by: jcwchen <jacky82226@gmail.com>
@jcwchen jcwchen requested a review from liqunfu October 20, 2023 02:43
@jcwchen jcwchen requested a review from a team as a code owner October 20, 2023 02:43
@jcwchen jcwchen merged commit ccde5da into onnx:rel-1.15.0 Oct 20, 2023
@jcwchen jcwchen deleted the jcw/rel-1.15.0/windows branch October 20, 2023 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants