1
Fork 0

step36, 37

step37 wasn't tested yet, we'll get there.
This commit is contained in:
Motiejus Jakštys 2024-11-10 18:00:10 +02:00
parent a67dbe1678
commit 24dffd6f40
1 changed files with 70 additions and 11 deletions

61
run
View File

@ -810,12 +810,69 @@ step34() {
STEP35=88f5315ddfc6eaf3e28433504ec046fb3252db7c
STEP35_=0.11.0-384-g88f5315ddf
step35() {
rm -fr "../zig-$STEP31_"
rm -fr "../zig-$STEP35_"
git archive --prefix=zig-$STEP35_/ $STEP35 | tar -C .. -x
{
pushd "../zig-$STEP35_"
cp ../zig-$STEP34_/stage1/zig1.wasm stage1/zig1.wasm
halfbuild 16
build/zig2 build update-zig1
popd
}
}
# commit a8d2ed806558cc1472f3a532169a4994abe17833
# Merge: 0345d78663 221295b7db
# Author: Andrew Kelley <andrew@ziglang.org>
# Date: 2023-09-22T19:38:41+03:00
#
# Merge pull request #17172 from ziglang/ip-structs
#
# compiler: move struct types into InternPool proper
#
STEP36=a8d2ed806558cc1472f3a532169a4994abe17833
STEP36_=0.11.0-494-ga8d2ed8065
step36() {
rm -fr "../zig-$STEP36_"
git archive --prefix=zig-$STEP36_/ $STEP36 | tar -C .. -x
{
pushd "../zig-$STEP36_"
../zig-$STEP35_/build/zig2 build --zig-lib-dir lib update-zig1
#cp ../zig-$STEP35_/stage1/zig1.wasm stage1/zig1.wasm
#halfbuild 16
popd
}
}
# commit 6bd54a1d3ebd8d997158c57057ba742824cf7e0c
# Author: Andrew Kelley <andrew@ziglang.org>
# Date: 2023-09-25T01:09:46+03:00
#
# update zig1.wasm
#
# Notable changes in this update:
#
# 127198e58cb3dcf2d2287124cf15a23a7d3a9c02 fixes building zig2 artifact on
# macOS Sonoma 14.0 (more specifically the SDK 14.0 linker).
#
# a8d2ed806558cc1472f3a532169a4994abe17833 fixed some alignment edge
# cases which is needed to do the store_hash=false change in the compiler
# source code.
#
# df5f0517b33b5f7bc2a508cf6a0ee62246f02d21 preserves result type
# information through the address-of operator.
#
# (@motiejus) llvm17
STEP37=6bd54a1d3ebd8d997158c57057ba742824cf7e0c
STEP37_=0.11.0-587-g6bd54a1d3e
step37() {
rm -fr "../zig-$STEP37_"
git archive --prefix=zig-$STEP37_/ $STEP37 | tar -C .. -x
{
pushd "../zig-$STEP37_"
#../zig-$STEP36_/build/zig2 build --zig-lib-dir lib update-zig1
cp ../zig-$STEP36_/stage1/zig1.wasm stage1/zig1.wasm
halfbuild 16
popd
}
}
@ -862,4 +919,6 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
if [[ "$step" -le 33 ]]; then step33; fi
if [[ "$step" -le 34 ]]; then step34; fi
if [[ "$step" -le 35 ]]; then step35; fi
if [[ "$step" -le 36 ]]; then step36; fi
if [[ "$step" -le 37 ]]; then step37; fi
fi