diff --git a/scripts/setup-ubuntu.sh b/scripts/setup-ubuntu.sh index 29a26877f9d84c..1f6e4aec3643a2 100755 --- a/scripts/setup-ubuntu.sh +++ b/scripts/setup-ubuntu.sh @@ -323,7 +323,7 @@ $SUDO dpkg --add-architecture i386 $SUDO cp $(dirname "$(realpath "$0")")/llvm-snapshot.gpg.key /etc/apt/trusted.gpg.d/apt.llvm.org.asc $SUDO chmod a+r /etc/apt/trusted.gpg.d/apt.llvm.org.asc { - echo "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-17 main" + echo "deb [arch=amd64] http://apt.llvm.org/noble/ llvm-toolchain-noble-17 main" } | $SUDO tee /etc/apt/sources.list.d/apt-llvm-org.list > /dev/null $SUDO apt-get -yq update