You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting started with this project and found that readme doesn't work well.
1st - building. It would help to add step of building llvm with -DLLVM_ENABLE_PROJECTS="clang;lld" after checking it out. I mean, inside ./llvm-project. Otherwise error #4 appears. Alternatively having llvm (clang + lld) in prerequsites may work good enough.
2nd - testing. The last test produces an error:
[303/304] Running the mlir-hlo regression tests
llvm-lit: .../mlir-hlo/llvm-project/llvm/utils/lit/lit/llvm/subst.py:122: note: Did not find mlir-cpu-runner in .../mlir-hlo/llvm-build:.../mlir-hlo/build/bin
The reason is that mlir_binary_dir doesn't actually points to the .../bin subdirrectory. Using llvm_tools_dir resolves the problem.
in ./tests/lit.cfg.py
Hi,
I'm getting started with this project and found that readme doesn't work well.
1st - building. It would help to add step of building llvm with
-DLLVM_ENABLE_PROJECTS="clang;lld"
after checking it out. I mean, inside ./llvm-project. Otherwise error #4 appears. Alternatively having llvm (clang + lld) in prerequsites may work good enough.2nd - testing. The last test produces an error:
The reason is that mlir_binary_dir doesn't actually points to the .../bin subdirrectory. Using llvm_tools_dir resolves the problem.
in ./tests/lit.cfg.py
or maybe add
llvm_tools_dir
tomlir_hlo_tools_dir
in lit.site.cfg.py.inThe text was updated successfully, but these errors were encountered: