Always checkout CIRCT/LLVM shallow

This commit is contained in:
Jerry Zhao
2024-02-27 17:01:56 -08:00
parent 793c56ef45
commit 3bb2101a25

View File

@@ -49,13 +49,17 @@ fi
echo "Cloning CIRCT submodules"
echo "Cloning CIRCT"
(
cd $RDIR/tools
git submodule update --init circt
cd circt
git submodule update --init --progress circt
)
echo "Cloning CIRCT/LLVM"
(
cd $RDIR/tools/circt
git submodule init
git submodule update
git config submodule.llvm.shallow true
git submodule update --recommend-shallow --progress llvm
)
echo "Building CIRCT's LLVM/MLIR"