Closed sscalpone closed 4 years ago
This doesn't build for me. I'm getting this:
CMake Error at CMakeLists.txt:70 (find_package):
Could not find a package configuration file provided by "MLIR" with any of
the following names:
MLIRConfig.cmake
mlir-config.cmake
I'm using the latest on the f18 branch from flang-compiler/f18-llvm-project. There is no lib/cmake/mlir
in the install.
Can you update the build instructions?
Can you update the build instructions?
Jean is updating f18-llvm-project.
I'm using the latest on the f18 branch from flang-compiler/f18-llvm-project. There is no
lib/cmake/mlir
in the install.
I have actually updated it a few hours ago already, can you check with git log --pretty=oneline -n 1
or similar that your f18-lvm-project f18 head is:
b3cc5dcef0f29f166fe33022858205a1243abd80 [MCInstPrinter] Add parameter `Address` to MCInstPrinter::printAliasInstr. NFC
Similar to #1085. Now use the MLIR package to set up paths for include files and libraries. Three MLIR names changed:
Also, resolves the merge conflict in #1085.
Note, when building out of tree, supply MLIR_DIR to cmake: