Skip to content

Conversation

@cycheng
Copy link

@cycheng cycheng commented Aug 3, 2020

Add document for iree cross compilation and qemu based compilation.

Copy link

@robquill robquill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have given some feedback on grammar fixes. Ultimately depends on contributor's license signed off by Legal.

Notes for optional components should go in separate files.
-->

This guide walks through cross-compiling IREE core runtime towards the embedded
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest: "for an embedded Linux platform"

Comment on lines +13 to +14
Cross-compilation involves both a *host* platform and a *target* platform. One
invokes compiler toolchains on the host platform to generate libraries and
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest: "The compiler toolchain on the host platform is used to generate..."

invokes compiler toolchains on the host platform to generate libraries and
executables that can be run on the target platform.

The following steps will use aarch64 as the embedded platform. These steps has
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"have" instead of "has"

-->

This guide walks through using qemu-user to build the core compiler and runtime
parts of IREE towards the embedded linux platform.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest: "for an" instead of "towards the"

This guide walks through using qemu-user to build the core compiler and runtime
parts of IREE towards the embedded linux platform.

The following steps will use aarch64 as the embedded platform. These steps has
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"have" instead of "has"

### Prepare Folders Shared between Host and Rootfs

It is very convenient to have some shared folders between the host and the
aarch64 rootfs, this example creates iree source and build folder on the host,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe a full-stop instead of a comma. I.e. "...rootfs. This example creates..."


It is very convenient to have some shared folders between the host and the
aarch64 rootfs, this example creates iree source and build folder on the host,
then bind it to the aarch64 rootfs.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest: "binds" instead of "bind"

### Prepare Folders Shared between Host and Rootfs

It is very convenient to have some shared folders between the host and the
aarch64 rootfs, this example creates iree source and build folder on the host,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IREE instead of iree? Some places in the file have it capitalised, some don't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants