-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fc2dee4
commit 0d5a546
Showing
5 changed files
with
72 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,17 +14,37 @@ interfacing the AMD AIE accelerator to IREE. | |
|
||
## Developer Setup | ||
|
||
These instructions assume that you have an appropriate IREE checkout side by side | ||
with this repository have an IREE build setup in an `iree-build` directory that | ||
is also a sibling. This is not a requirement, but instructions will need to be | ||
changed for different paths. | ||
**Strong recommendation**: check the CI scripts @ [.github/workflows](.github/workflows) - they do a fresh/clean | ||
checkout and build and are exercised on every commit *and* are written such that they're simple enough to be read | ||
by even a non-CI expert. | ||
|
||
Preparing repository: | ||
### Getting the repository: | ||
|
||
Either | ||
|
||
``` | ||
# ssh | ||
git clone --recursive [email protected]:nod-ai/iree-amd-aie.git | ||
# https | ||
git clone --recursive https://github.com/nod-ai/iree-amd-aie.git | ||
``` | ||
|
||
or if you want a faster checkout | ||
|
||
``` | ||
git submodule update --init --recursive | ||
git \ | ||
-c submodule."third_party/torch-mlir".update=none \ | ||
-c submodule."third_party/stablehlo".update=none \ | ||
-c submodule."src/runtime_src/core/common/aiebu".update=none \ | ||
clone \ | ||
--recursive \ | ||
--depth 1 \ | ||
--shallow-submodules \ | ||
https://github.com/nod-ai/iree-amd-aie.git | ||
``` | ||
|
||
which has the effect of not cloning entire repo histories *and* skipping nested submodules that we currently do not need. | ||
|
||
## Building (along with IREE) | ||
|
||
### Just show me the CMake | ||
|