Skip to content

Commit

Permalink
Use different folder to checkout tt-mlir
Browse files Browse the repository at this point in the history
Cmake expexts that folder used for external project is empty.
Use different folder to checkout tt-mlir

0.695 CMake Error at CMakeLists.txt:19 (message):
0.695   Failed to clone tt-mlir: fatal: destination path
0.695   '/home/build/tt-xla/third_party/tt-mlir/src/tt-mlir' already exists and is
0.695   not an empty directory.
  • Loading branch information
vmilosevic committed Jan 27, 2025
1 parent 08078d5 commit b1a2cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/get-docker-tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ MLIR_DOCKER_TAG=$(
# Read tt-mlir version from third_party/CMakeLists.txt
# clone tt-mlir version to tmp/third_party/tt-mlir
# Get the MLIR docker tag
TT_MLIR_PATH=third_party/tt-mlir/src/tt-mlir
TT_MLIR_PATH=tmp/third_party/tt-mlir
TT_MLIR_VERSION=$(grep -oP 'set\(TT_MLIR_VERSION "\K[^"]+' third_party/CMakeLists.txt)
if [ ! -d $TT_MLIR_PATH ]; then
git clone https://github.com/tenstorrent/tt-mlir.git $TT_MLIR_PATH --quiet
Expand Down

0 comments on commit b1a2cb6

Please sign in to comment.