This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Fix dependencies for Analysis libraries
ClosedPublic

Authored by stephenneuendorffer on May 12 2020, 1:40 PM.

Details

Summary

cmake does not truly support dependencies on automatically generated files
which are not in the same directory as the targets which depend on them.
It works with ninja, but doesn't work with make

This patch adds an explicit dependence so that all dialects are built
before the analysis libraries.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptMay 12 2020, 1:40 PM
This revision was not accepted when it landed; it landed in state Needs Review.May 12 2020, 2:00 PM
This revision was automatically updated to reflect the committed changes.