This is an archive of the discontinued LLVM Phabricator instance.

[mlir][standalone] Enable to build as LLVM external project
ClosedPublic

Authored by marbre on Feb 10 2023, 2:48 AM.

Details

Summary

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).

Diff Detail

Event Timeline

marbre created this revision.Feb 10 2023, 2:48 AM
marbre requested review of this revision.Feb 10 2023, 2:48 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 10 2023, 2:48 AM

This was presented as part of my talk How to Build your own MLIR Dialect at FOSDEM 2023.

LGTM

mlir/examples/standalone/CMakeLists.txt
38–39

MLIR_STANDALONE?

This revision is now accepted and ready to land.Feb 22 2023, 12:41 PM
stellaraccident accepted this revision.Feb 22 2023, 1:06 PM
This revision was automatically updated to reflect the committed changes.