Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Use TTMLIR_TOOLCHAIN_DIR env variable instead of hard coded path.
  • Loading branch information
mmanzoorTT committed Oct 1, 2024
1 parent b7cb7d9 commit c0bd5d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ tt-xla and stableHLO integration with tt-mlir compiler is still under progress.
### StableHLO
Please make sure that you are running the following commands with in tt-mlir `virtual environment` (execute `source env/activate` in `tt-mlir` directory).
```
cd /opt/ttmlir-toolchain/src/stablehlo-build/
cd $TTMLIR_TOOLCHAIN_DIR/src/stablehlo-build/
cmake ../stablehlo -G Ninja -DMLIR_DIR=${PWD}/../llvm-build/lib/cmake/mlir
cmake --build .
cp /opt/ttmlir-toolchain/src/stablehlo-build/lib/lib* /opt/ttmlir-toolchain/lib/
cp $TTMLIR_TOOLCHAIN_DIR/src/stablehlo-build/lib/lib* $TTMLIR_TOOLCHAIN_DIR/lib/
```

### tt-xla
This `tt-xla` repo is updated to use cmake instead of bazel and made compatiable with tt-mlir compiler.
```
git clone git@github.com:tenstorrent/tt-xla.git // Clone tt-xla repo
git clone git@github.com:tenstorrent/tt-xla.git
cd tt-xla
source venv/activate
cmake -G Ninja -B build
Expand Down

0 comments on commit c0bd5d1

Please sign in to comment.