This is an archive of the discontinued LLVM Phabricator instance.

[mlir] mark libraries in mlir/examples as such
ClosedPublic

Authored by ftynse on Jun 19 2023, 4:23 AM.

Details

Summary

LLVM build system separates between add_llvm_example_library and
add_llvm_library, which is presumably used to package examples
separately from the regular library. Introduce a similar approach to
building example libraries in MLIR and use it for the transform dialect
tutorial.

Diff Detail

Event Timeline

ftynse created this revision.Jun 19 2023, 4:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 19 2023, 4:23 AM
ftynse requested review of this revision.Jun 19 2023, 4:23 AM
mehdi_amini accepted this revision.Jun 19 2023, 5:04 AM
This revision is now accepted and ready to land.Jun 19 2023, 5:04 AM
ftynse updated this revision to Diff 532692.Jun 19 2023, 9:15 AM

Introduce add_mlir_example_library

We cannot use LLVM's one directly because it will include the library into
LLVM installation.

ftynse edited the summary of this revision. (Show Details)Jun 19 2023, 9:16 AM
This revision was automatically updated to reflect the committed changes.