Skip to content

Conversation

@kparzysz-quic
Copy link
Contributor

They are already linked into libtvm.so, and cpptests links against libtvm.so, so they are not needed again. On the other hand, linking them twice can lead to the following error:

CommandLine Error: Option 'print-summary-global-ids' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options

Copy link
Member

@junrushao junrushao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks for fixing this issue!

… TVM

They are already linked into libtvm.so, and cpptests links against
libtvm.so, so if they are visible in the TVM library, they are not
needed again. On the other hand, linking them twice can lead to the
following error:
```
CommandLine Error: Option 'print-summary-global-ids' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
```
@Hzfengsy Hzfengsy merged commit 79f9e57 into apache:main Aug 30, 2023
@kparzysz-quic kparzysz-quic deleted the cpptest-link-llvm branch August 30, 2023 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants