This is an archive of the discontinued LLVM Phabricator instance.

[mlir] NFC - Move runner utils from mlir-cpu-runner to ExecutionEngine
ClosedPublic

Authored by nicolasvasilache on Feb 26 2020, 3:03 PM.

Details

Summary

Runner utils are useful beyond just CPU and hiding them within the test directory makes it unnecessarily harder to reuse in other projects.

Diff Detail

Event Timeline

Update CMakeLists.txt

aartbik accepted this revision.Feb 26 2020, 3:37 PM
This revision is now accepted and ready to land.Feb 26 2020, 3:37 PM
mehdi_amini added inline comments.Feb 26 2020, 5:15 PM
mlir/tools/mlir-runner-utils/CMakeLists.txt
6 ↗(On Diff #246847)

The tools directory isn't usually for exposing "libraries" but for exposing command line... tools?

Will this trigger the installation of a mlir-runner-utils library for example?

nicolasvasilache marked an inline comment as done.Feb 27 2020, 6:12 AM
nicolasvasilache added inline comments.
mlir/tools/mlir-runner-utils/CMakeLists.txt
6 ↗(On Diff #246847)

ok, I am working on changes to move that under ExecutionEngine.
I need to split things that need a C++ runtime from others for mobile anyway.

Move to ExecutionEngine

nicolasvasilache retitled this revision from [mlir] NFC - Move runner utils from mlir-cpu-runner to tools to [mlir] NFC - Move runner utils from mlir-cpu-runner to ExecutionEngine.Feb 27 2020, 6:50 AM
nicolasvasilache marked an inline comment as done.Feb 27 2020, 6:53 AM
ftynse accepted this revision.Feb 27 2020, 6:53 AM

Land as bb67bbcf9d71e976b44605887d9857fd27d109c9 but a glitch in my local config dropped the phab link..