1
Fork 0

step31, 32, 33

This commit is contained in:
Motiejus Jakštys 2024-11-10 00:04:37 +02:00
parent 4c8aa66600
commit 5b27005106
1 changed files with 71 additions and 0 deletions

71
run
View File

@ -708,6 +708,74 @@ step30() {
} }
} }
# commit 4bce7b1db964098e4a9163201fa3adcb26af6d97
# Author: antlilja <liljaanton2001@gmail.com>
# Date: 2023-07-06T20:47:13+03:00
#
# Remove len parameter from splat builtin function
#
# Resolve the result type of the splat builtin instead of requiring a
# length parameter.
#
STEP31=4bce7b1db964098e4a9163201fa3adcb26af6d97
STEP31_=0.10.0-3980-g4bce7b1db9
step31() {
rm -fr "../zig-$STEP31_"
git archive --prefix=zig-$STEP31_/ $STEP31 | tar -C .. -x
{
pushd "../zig-$STEP31_"
cp ../zig-$STEP30_/stage1/zig1.wasm stage1/zig1.wasm
halfbuild 16
popd
}
}
# commit 47d5bf26164b4ddb3228d17ae2158d1c29b8d040
# Author: Andrew Kelley <andrew@ziglang.org>
# Date: 2023-07-13T01:50:57+03:00
#
# update zig1.wasm
#
# Needed due to the breaking changes to `@splat` which are used by the
# self-hosted compiler.
STEP32=47d5bf26164b4ddb3228d17ae2158d1c29b8d040
STEP32_=0.10.0-3985-g47d5bf2616
step32() {
rm -fr "../zig-$STEP32_"
git archive --prefix=zig-$STEP32_/ $STEP32 | tar -C .. -x
{
pushd "../zig-$STEP32_"
../zig-$STEP31_/build/zig2 build --zig-lib-dir lib update-zig1
popd
}
}
# tag 0.11.0
# Tagger: Andrew Kelley <andrew@ziglang.org>
# Date: 2023-08-03T21:22:03+03:00
#
# Release 0.11.0
#
# commit 67709b638224ac03820226c6744d8b6ead59184c (tag: 0.11.0)
# Author: Andrew Kelley <andrew@ziglang.org>
# Date: 2023-08-03T21:22:03+03:00
#
# Release 0.11.0
#
STEP33=67709b638224ac03820226c6744d8b6ead59184c
STEP33_=0.11.0
step33() {
rm -fr "../zig-$STEP33_"
git archive --prefix=zig-$STEP33_/ $STEP33 | tar -C .. -x
{
pushd "../zig-$STEP33_"
cp ../zig-$STEP32_/stage1/zig1.wasm stage1/zig1.wasm
fullbuild 16
build/stage3/bin/zig update-zig1
popd
}
}
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
set -xeuo pipefail set -xeuo pipefail
step=${1:-step00} step=${1:-step00}
@ -745,4 +813,7 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
if [[ "$step" -le 28 ]]; then step28; fi if [[ "$step" -le 28 ]]; then step28; fi
if [[ "$step" -le 29 ]]; then step29; fi if [[ "$step" -le 29 ]]; then step29; fi
if [[ "$step" -le 30 ]]; then step30; fi if [[ "$step" -le 30 ]]; then step30; fi
if [[ "$step" -le 31 ]]; then step31; fi
if [[ "$step" -le 32 ]]; then step32; fi
if [[ "$step" -le 33 ]]; then step33; fi
fi fi