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

Trouble building the project #4038

Open
smanilov opened this issue Feb 23, 2025 · 0 comments
Open

Trouble building the project #4038

smanilov opened this issue Feb 23, 2025 · 0 comments

Comments

@smanilov
Copy link

Hello, I watched the presentation "An introduction to Torch-MLIR" at FOSDEM'25 and decided to give it a try.

I made a good effort, including building MLIR itself from source, since mlir-tblgen does not seem to be packaged by the Linux distros that I'm familiar with.

Still, cmake fails to complete successfully, with a bunch of similar looking errors.

Pasting the first one here:

CMake Error at /root/torch-mlir/externals/llvm-project/mlir/cmake/modules/AddMLIR.cmake:214 (a
dd_dependencies):                                                                               Cannot add target-level dependencies to non-existent target "mlir-doc".                     
                                                                                              
  The add_dependencies works for top-level logical targets created by the                     
  add_executable, add_library, or add_custom_target commands.  If you want to                 
  add file-level dependencies see the DEPENDS option of the add_custom_target                 
  and add_custom_command commands.                                                            
Call Stack (most recent call first):                                                          
  /root/torch-mlir/include/torch-mlir/Conversion/TorchOnnxToTorch/CMakeLists.txt:4 (add_mlir_d
oc)

Are there extra steps needed, when building in a fresh up-to-date instance of Ubuntu?

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

1 participant