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

Melior unable to find LLVM/MLIR-17 #502

Open
ctrlv0 opened this issue Mar 19, 2024 · 1 comment
Open

Melior unable to find LLVM/MLIR-17 #502

ctrlv0 opened this issue Mar 19, 2024 · 1 comment

Comments

@ctrlv0
Copy link

ctrlv0 commented Mar 19, 2024

when i try to use melior 0.17.0 in my project on wsl (ubuntu 20.04.6) it gives me an error saying
failed to find correct version (17.x.x) of llvm-config (found )

However, i have LLVM/MLIR-17 installed and inkwell seems to work without no problems.

llvm-config-17 command is exposed to bash and can be invoked from any path.

what am i doing wrong here?

@raviqqe
Copy link
Owner

raviqqe commented Mar 20, 2024

I think it's because Ubuntu somehow puts all LLVM tools' names with a -17 suffix. This is more like an issue of mlir-sys.

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

No branches or pull requests

2 participants