test_wamr.sh: Fix build wabt tool (#3703)

And fix a typo in ATTRIBUTIONS.md.
This commit is contained in:
Wenyong Huang
2024-08-14 16:20:32 +08:00
committed by GitHub
parent 5b8dfbce75
commit cce48a0943
2 changed files with 8 additions and 7 deletions

View File

@ -409,12 +409,13 @@ function setup_wabt()
git clone --recursive https://github.com/WebAssembly/wabt
fi
echo "upate wabt"
cd wabt
git fetch origin
git reset --hard origin/main
git checkout tags/${WABT_VERSION} -B ${WABT_VERSION}
cd ..
make -C wabt gcc-release -j 4 || exit 1
cd wabt \
&& git fetch origin \
&& git reset --hard origin/main \
&& git checkout tags/${WABT_VERSION} -B ${WABT_VERSION} \
&& git submodule update --init \
&& cd .. \
&& make -C wabt gcc-release -j 4 || exit 1
fi
}