This is an archive of the discontinued LLVM Phabricator instance.

Add a CMake fatal error when someone tries to configure flang without MLIR
ClosedPublic

Authored by mehdi_amini on May 20 2020, 10:32 PM.

Details

Summary

This is more friendly than the "Unknown CMake command “mlir_tablegen”."
that would be issued instead.

Diff Detail

Event Timeline

mehdi_amini created this revision.May 20 2020, 10:32 PM

Maybe just add mlir to the list of enabled projects automatically?

Add the dependency automatically instead

This revision is now accepted and ready to land.May 26 2020, 8:16 AM
This revision was automatically updated to reflect the committed changes.