Skip to content

Instantly share code, notes, and snippets.

@wangkuiyi
Created January 25, 2023 01:58
Show Gist options
  • Save wangkuiyi/09656e39447129b9187503084035b162 to your computer and use it in GitHub Desktop.
Save wangkuiyi/09656e39447129b9187503084035b162 to your computer and use it in GitHub Desktop.
IREE macOS/iOS CI steps
digraph G {
node [shape=plaintext];
iree_runtime [label="IREE runtime\nsource code"];
iree_compiler [label="IREE compiler\nsource code"];
cmake [label="CMake", shape=rect];
rt_ios_dev [label="iree.framework for\narm64 iOS devices"];
rt_ios_sim [label="iree.framework for\narm64 iOS Simulator"];
rt_macos [label="iree.framework for\narm64 macOS"];
iree_runtime -> cmake -> rt_ios_dev;
cmake -> rt_ios_sim;
cmake -> rt_macos;
xcframework [label="iree.xcframework"];
xcodebuild [shape=rect];
rt_ios_dev -> xcodebuild -> xcframework;
rt_ios_sim -> xcodebuild;
rt_macos -> xcodebuild;
iree_compiler_macos [label="IREE compiler for\narm64 macOS", shape=rect];
cmake1 [label="CMake", shape=rect];
iree_compiler -> cmake1 -> iree_compiler_macos;
sample_mlir [label="sample_abs.mlir"];
sample_vmfb [label="sample_abs.vmfb"];
sample_mlir -> iree_compiler_macos -> sample_vmfb;
ios_app [label="an iOS sample app"];
xcode [shape=rect];
ios_app -> xcode;
xcframework -> xcode;
sample_vmfb -> xcode;
ios_dev_target [label="built target for\niOS device"];
ios_sim_target [label="built target for\niOS Simulator"];
simctl [label="xcrun simctl", shape=rect];
idb [label="Facebook idb", shape=rect, style=filled, fillcolor=cyan];
ios_sim [label="iOS Simulator.app", shape=rect];
iphone [label="an iPhone in\ndevelopment mode", shape=rect, style=filled, fillcolor=cyan];
xcode -> ios_dev_target -> simctl -> ios_sim;
xcode -> ios_sim_target -> idb -> iphone;
{rank=same; iree_runtime; iree_compiler; sample_mlir;}
{rank=same; cmake; cmake1;}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment