mirror of
https://github.com/sysprog21/lkmpg.git
synced 2024-11-25 17:56:36 +08:00
Merge pull request #202 from linD026/master
CI: Switch Smatch source code to GitHub mirror
This commit is contained in:
commit
a284eabdb5
|
@ -84,13 +84,12 @@ function do_gcc()
|
||||||
|
|
||||||
function do_smatch()
|
function do_smatch()
|
||||||
{
|
{
|
||||||
wget -q https://repo.or.cz/smatch.git/snapshot/refs/heads/master.tar.gz
|
git clone https://github.com/error27/smatch.git --depth=1
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Failed to download smatch."
|
echo "Failed to download smatch."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
tar -xzf master.tar.gz
|
pushd smatch
|
||||||
pushd smatch-master-*
|
|
||||||
make smatch || exit 1
|
make smatch || exit 1
|
||||||
local SMATCH=$(pwd)/smatch
|
local SMATCH=$(pwd)/smatch
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Reference in New Issue
Block a user