-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build] fixup script for cleaning the build (#534)
The way `tt-mlir` builds the environment and the toolchain has changed, so now if you delete the environment directories, everything will need to be rebuilt (including LLVM, Flatbuffers, etc.). Since cleaning everything (including toolchains) is rarely needed, update the script to leave `env/build` dirs intact and rename it to `clean_build.sh`. Also, tidying up the build docs...
- Loading branch information
Showing
3 changed files
with
24 additions
and
15 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# SPDX-FileCopyrightText: © 2024 Tenstorrent AI ULC | ||
|
||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Cleans all build artifacts, except for the environment and toolchains. | ||
# If you want to clean the environment (should be rarely needed), remove the env/build directories. | ||
# E.g. rm -rf env/build third_party/tt-mlir/env/build | ||
|
||
rm -rf build | ||
rm -rf third_party/tt-mlir/build | ||
rm -rf third_party/tt-mlir/third_party/tt-metal | ||
rm -rf third_party/tvm/build |
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