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

cannot detect llvm/mlir 17 on ubtuntu #36

Open
ctrlv0 opened this issue Mar 20, 2024 · 2 comments
Open

cannot detect llvm/mlir 17 on ubtuntu #36

ctrlv0 opened this issue Mar 20, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ctrlv0
Copy link

ctrlv0 commented Mar 20, 2024

I'm using WSL Ubuntu 20.04 on windows 11 and have multiple versions of llvm installed via apt. ubtuntu adds a major version number to installed llvm deps. for eg- llvm-config for llvm 17 will be changed to llvm-config-17

I'm trying to use the latest version of melior which works upon this crate.

while building the project, I get an error saying that a version for llvm was not detected even though llvm-config is found.

I suppose this error arrives due to the naming convention in ubuntu which I wrote about above.

please suggest some fixes or solutions

@raviqqe raviqqe added the bug Something isn't working label Apr 23, 2024
@raviqqe
Copy link
Member

raviqqe commented Apr 23, 2024

It seems to work at least on CI. Can you try with LLVM 18? #35

@ctrlv0
Copy link
Author

ctrlv0 commented Apr 25, 2024

kk I'll try

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants