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

Fix Debug Builds #1652

Open
vwellsTT opened this issue Dec 20, 2024 · 0 comments
Open

Fix Debug Builds #1652

vwellsTT opened this issue Dec 20, 2024 · 0 comments
Assignees

Comments

@vwellsTT
Copy link
Contributor

After some of PRs for CPU Hoisting merged, have 2 stranges issues when building w/ debug LLVM/MLIR:

  1. lsp-server fails to link, saying it cannot find various passes from linalg-to-llvm conversion pipeline
  2. 5 python test cases fail, again linking related, cannot find linalg.registerBufferizableOpInterfaceExternalModels (and presumably the other dialect's registerBufferizableOpInterfaceExternalModels as well).

For the 1st point, it is strange that I don't see any differences between the linked .a files for ttmlir-opt which works and ttmlir-lsp-server which doesn't, despite both of them using the relevant file.

For python tests, basic including did not help. Perhaps this is because python needs to use dylib rather than static libs or something?

@vwellsTT vwellsTT self-assigned this Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant