From 4f491bc3340f1f7aaa94fd7482814ac964f74a58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 7 Nov 2024 00:03:00 +0200 Subject: [PATCH] step09 --- run | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/run b/run index 04c0292..e6887aa 100755 --- a/run +++ b/run @@ -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