fix git clone
This commit is contained in:
parent
a9205eca6a
commit
77128e14c9
14
run
14
run
|
@ -125,10 +125,11 @@ step10() {
|
|||
local TO_="$BOUNDFN_"
|
||||
echo "Generating zig1.wasm.zst for $TO_"
|
||||
rm -fr "../zig-$TO_"
|
||||
git clone . "../zig-${TO_}" $TO
|
||||
git clone . "../zig-$TO_"
|
||||
|
||||
{
|
||||
pushd "../zig-$BOUNDFN_"
|
||||
pushd "../zig-$TO_"
|
||||
git checkout $TO
|
||||
cp "$OLDPWD/stage1/zig1.wasm.zst" stage1/
|
||||
patch -p1 <"$HERE/0.10.0-675-g9d93b2ccf1-TypeOf-hack.patch"
|
||||
fullbuild
|
||||
|
@ -145,10 +146,11 @@ step20() {
|
|||
local TO_="$C_AARCH64_"
|
||||
echo "Generating zig1.wasm.zst for $C_AARCH64_"
|
||||
rm -fr "../zig-$TO_"
|
||||
git clone . "../zig-${TO_}" $TO
|
||||
git clone . "../zig-$TO_"
|
||||
|
||||
{
|
||||
pushd "../zig-$TO_"
|
||||
git checkout $TO
|
||||
zstd -cd ../zig-$FROM_/stage1/zig1.wasm.zst >stage1/zig1.wasm
|
||||
fullbuild
|
||||
build/stage3/bin/zig build update-zig1
|
||||
|
@ -165,10 +167,11 @@ step30() {
|
|||
|
||||
echo "Updating zig1.wasm from $FROM_ -> $TO_ in ../zig-$TO_"
|
||||
rm -fr "../zig-$TO_"
|
||||
git clone . "../zig-$TO_" $TO
|
||||
git clone . "../zig-$TO_"
|
||||
|
||||
{
|
||||
pushd "../zig-$TO_"
|
||||
git checkout $TO
|
||||
patch -p1 <"$HERE/0.10.0-747-g7b2a936173-CallOptions.patch"
|
||||
"../zig-$FROM_/build/stage3/bin/zig" build --zig-lib-dir lib update-zig1
|
||||
popd
|
||||
|
@ -184,10 +187,11 @@ step40() {
|
|||
|
||||
echo "Updating zig1.wasm from $FROM_ -> $TO_ in ../zig-$TO_"
|
||||
rm -fr "../zig-$TO_"
|
||||
git clone . "../zig-$TO_" $TO
|
||||
git clone . "../zig-$TO_"
|
||||
|
||||
{
|
||||
pushd "../zig-$TO_"
|
||||
git checkout $TO
|
||||
cp ../zig-$FROM_/stage1/zig1.wasm stage1/zig1.wasm
|
||||
fullbuild
|
||||
build/stage3/bin/zig build update-zig1
|
||||
|
|
Loading…
Reference in New Issue