This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Update Python CMake version requirement.
ClosedPublic

Authored by mikeurbach on Jul 20 2022, 7:24 AM.

Details

Summary

The minimum required version is now 3.19 due to the usage of some
more recent features. Update the version check and error message
accordingly. Also remove some logic that behaved differently before
3.18, since we can assume we are now on version 3.19+.

Diff Detail

Event Timeline

mikeurbach created this revision.Jul 20 2022, 7:24 AM
mikeurbach requested review of this revision.Jul 20 2022, 7:24 AM
mikeurbach added inline comments.Jul 20 2022, 7:25 AM
mlir/cmake/modules/MLIRDetectPythonEnv.cmake
21

It seemed useful to keep this comment, even though we are always on 3.18 after this patch.

This revision is now accepted and ready to land.Jul 20 2022, 9:01 AM
This revision was automatically updated to reflect the committed changes.