1
Fork 0
This commit is contained in:
Motiejus Jakštys 2024-11-07 00:03:00 +02:00
parent 1bf8e4609d
commit 4f491bc334
1 changed files with 19 additions and 0 deletions

19
run
View File

@ -283,11 +283,29 @@ step08() {
# Date: 2022-12-09T02:50:08+02:00
#
# cbe: first set of changes for msvc compatibility
STEP09=a43fdc1620fa24c8c606f748505766bfd53d1049
STEP09_=0.10.0-1027-ga43fdc1620
step09() {
local FROM_="$STEP08_"
local TO="$STEP09"
local TO_="$STEP09_"
echo "Updating stage3 $FROM_ -> $TO_"
rm -fr "../zig-$TO_"
git archive --prefix=zig-$TO_/ $TO | tar -C .. -x
{
pushd "../zig-$TO_"
cp ../zig-$FROM_/stage1/zig1.wasm stage1/zig1.wasm
fullbuild
popd
}
}
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
set -xeuo pipefail
step=${1:-step00}
step=${step#step}
step=${step#0}
# works:
if [[ "$step" -le 0 ]]; then step00; fi
@ -299,4 +317,5 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
if [[ "$step" -le 6 ]]; then step06; fi
if [[ "$step" -le 7 ]]; then step07; fi
if [[ "$step" -le 8 ]]; then step08; fi
if [[ "$step" -le 9 ]]; then step09; fi
fi