From b8273d874edaae36a5c1c1d69423d0681489adfb Mon Sep 17 00:00:00 2001 From: Jerry Zhao Date: Tue, 27 Feb 2024 17:22:36 -0800 Subject: [PATCH] Set CIRCT/llvm branch --- scripts/build-circt-from-source.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/build-circt-from-source.sh b/scripts/build-circt-from-source.sh index 56d7966b..5477534d 100755 --- a/scripts/build-circt-from-source.sh +++ b/scripts/build-circt-from-source.sh @@ -58,7 +58,9 @@ echo "Cloning CIRCT/LLVM" ( cd $RDIR/tools/circt git submodule init + # The settings in circt/.gitmodules don't "stick", so force-set them here git config submodule.llvm.shallow true + git config submodule.llvm.branch main git submodule update --recommend-shallow --progress llvm )