diff --git a/run b/run index 2bf54ca..734633e 100755 --- a/run +++ b/run @@ -671,9 +671,9 @@ step28() { # commit be0c69957e7489423606023ad820599652a60e15 # Author: Matthew Lugg # Date: 2023-06-20T15:39:35+03:00 -# +# # compiler: remove destination type from cast builtins -# +# STEP29=be0c69957e7489423606023ad820599652a60e15 STEP29_=0.10.0-3807-gbe0c69957e step29() { @@ -712,12 +712,12 @@ step30() { # commit 4bce7b1db964098e4a9163201fa3adcb26af6d97 # Author: antlilja # 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() { @@ -754,19 +754,19 @@ step32() { # tag 0.11.0 # Tagger: Andrew Kelley # Date: 2023-08-03T21:22:03+03:00 -# +# # Release 0.11.0 -# +# # commit 67709b638224ac03820226c6744d8b6ead59184c (tag: 0.11.0) # Author: Andrew Kelley # Date: 2023-08-03T21:22:03+03:00 -# +# # Release 0.11.0 -# +# # Note for packagers: I had problems building stage3 on a recent Linux # distribution due to a linker error See e8767d2b76ca8 for more details and # some advise on how to proceed/work around it. -STEP33=67709b638224ac03820226c6744d8b6ead59184c +STEP33=67709b638224ac03820226c6744d8b6ead59184c STEP33_=0.11.0 step33() { rm -fr "../zig-$STEP33_" @@ -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 +# 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 +# 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