Skip to content

Commit 16e0656

Browse files
committed
CI: Switch Smatch source code to GitHub mirror
Since the Smatch repository is unavailable recently [1], let's switch to GitHub mirror, https://github.com/error27/smatch.git [2], instead of using https://repo.or.cz/smatch.git. [1] https://lore.kernel.org/all/Y1qf7w%2Fjo8FH5I8G@kadam/ [2] https://lore.kernel.org/all/20220810105926.GS3460@kadam/
1 parent ed0b93c commit 16e0656

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.ci/static-analysis.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,12 @@ function do_gcc()
8484

8585
function do_smatch()
8686
{
87-
wget -q https://repo.or.cz/smatch.git/snapshot/refs/heads/master.tar.gz
87+
git clone https://github.com/error27/smatch.git --depth=1
8888
if [ $? -ne 0 ]; then
8989
echo "Failed to download smatch."
9090
exit 1
9191
fi
92-
tar -xzf master.tar.gz
93-
pushd smatch-master-*
92+
pushd smatch
9493
make smatch || exit 1
9594
local SMATCH=$(pwd)/smatch
9695
popd

0 commit comments

Comments
 (0)