[mlir][standalone] Enable to build as LLVM external project
authorMarius Brehler <marius.brehler@iml.fraunhofer.de>
Wed, 1 Mar 2023 13:14:59 +0000 (14:14 +0100)
committerMarius Brehler <marius.brehler@iml.fraunhofer.de>
Wed, 1 Mar 2023 13:15:17 +0000 (14:15 +0100)
commit7c081a5675cae9f083e3c34ec27a89ad3fcc9d3b
tree1be04b6c27877fe8b9992196430453ef67d078bd
parentfad60105ace546deb219adb14e0eef01a2b6c9d6
[mlir][standalone] Enable to build as LLVM external project

In addition to the component build, this enables the standalone example
to be build as part of a monolithic LLVM build by using the LLVM
external projects mechanism (`LLVM_EXTERNAL_PROJECTS`).

Reviewed By: stephenneuendorffer, stellaraccident

Differential Revision: https://reviews.llvm.org/D143718
mlir/examples/standalone/CMakeLists.txt
mlir/examples/standalone/README.md
mlir/examples/standalone/test/lit.site.cfg.py.in