Skip to content

[VM] class Executable does not export symbols to dll#11963

Merged
tmoreau89 merged 2 commits intoapache:mainfrom
Deelvin:vc/dll_export_symbols
Jun 30, 2022
Merged

[VM] class Executable does not export symbols to dll#11963
tmoreau89 merged 2 commits intoapache:mainfrom
Deelvin:vc/dll_export_symbols

Conversation

@vvchernov
Copy link
Contributor

It continues patch from #11947
When using the native C++ API of the Executable of Virtual Machine, sometimes link error occurred when building the project: undefined symbols for the Executable.
This is due to the fact that these symbols were not exported from tvm.dll.
This patch fixes this issue.

@vvchernov
Copy link
Contributor Author

Hello @tmoreau89! I observed new problem on my Windows machine after Alexey's fix, could you see this fix? After that fix the project is built on Windows.

@vvchernov vvchernov changed the title [VM] class Executable exports symbols to dll [VM] class Executable does not export symbols to dll Jun 30, 2022
Copy link
Contributor

@tmoreau89 tmoreau89 left a comment

Choose a reason for hiding this comment

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

LGTM

@tmoreau89 tmoreau89 merged commit 3425ed8 into apache:main Jun 30, 2022
blackkker pushed a commit to blackkker/tvm that referenced this pull request Jul 7, 2022
* class Executable of VM exports symbols to dll

* restart CI

Co-authored-by: Valery Chernov <valery.chernov@deelvin.com>
masahi pushed a commit to masahi/tvm that referenced this pull request Jul 15, 2022
* class Executable of VM exports symbols to dll

* restart CI

Co-authored-by: Valery Chernov <valery.chernov@deelvin.com>
mikeseven pushed a commit to mikeseven/tvm that referenced this pull request Sep 27, 2023
* class Executable of VM exports symbols to dll

* restart CI

Co-authored-by: Valery Chernov <valery.chernov@deelvin.com>
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.

2 participants