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

build failed #223

Open
XBWGC opened this issue May 17, 2022 · 2 comments
Open

build failed #223

XBWGC opened this issue May 17, 2022 · 2 comments

Comments

@XBWGC
Copy link

XBWGC commented May 17, 2022

  • follow the steps within README, get the following error:
CMake Error at llvm-project/build/install/lib/cmake/llvm/AddLLVM.cmake:515 (add_dependencies):
  The dependency target "MLIRStandard" of target "obj.sair_test_passes" does
  not exist.
Call Stack (most recent call first):
  llvm-project/build/install/lib/cmake/mlir/AddMLIR.cmake:184 (llvm_add_library)
  test/CMakeLists.txt:43 (add_mlir_library)


CMake Error at llvm-project/build/install/lib/cmake/llvm/AddLLVM.cmake:515 (add_dependencies):
  The dependency target "MLIRSCFToStandard" of target "obj.sair_lowering"
  does not exist.
Call Stack (most recent call first):
  llvm-project/build/install/lib/cmake/mlir/AddMLIR.cmake:184 (llvm_add_library)
  transforms/CMakeLists.txt:63 (add_mlir_library)


CMake Error at llvm-project/build/install/lib/cmake/llvm/AddLLVM.cmake:515 (add_dependencies):
  The dependency target "MLIRStandard" of target "obj.sair_lowering" does not
  exist.
Call Stack (most recent call first):
  llvm-project/build/install/lib/cmake/mlir/AddMLIR.cmake:184 (llvm_add_library)
  transforms/CMakeLists.txt:63 (add_mlir_library)


CMake Error at llvm-project/build/install/lib/cmake/llvm/AddLLVM.cmake:515 (add_dependencies):
  The dependency target "MLIRStandardToLLVM" of target "obj.sair_lowering"
  does not exist.
Call Stack (most recent call first):
  llvm-project/build/install/lib/cmake/mlir/AddMLIR.cmake:184 (llvm_add_library)
  transforms/CMakeLists.txt:63 (add_mlir_library)


CMake Error at llvm-project/build/install/lib/cmake/llvm/AddLLVM.cmake:515 (add_dependencies):
  The dependency target "MLIRStandard" of target "obj.sair_from_linalg" does
  not exist.
Call Stack (most recent call first):
  llvm-project/build/install/lib/cmake/mlir/AddMLIR.cmake:184 (llvm_add_library)
  transforms/CMakeLists.txt:21 (add_mlir_library)


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
  • project commit id : 0998fee
  • OS: ubuntu 18.04
@XBWGC
Copy link
Author

XBWGC commented May 17, 2022

i can't find MLIRStandard, MLIRSCFToStandard, MLIRStandardToLLVM within llvm-project/mlir, so where are these lib ?

@shivani13singh
Copy link

The CMake errors indicate that there are missing dependency targets in your CMake build configuration. Specifically, the targets "MLIRStandard", "MLIRSCFToStandard", "MLIRStandardToLLVM", and "MLIRStandard" are not found.

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