From 39fdefe34f53a65c53d6c5a29830d94609685d59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sat, 9 Nov 2024 19:05:07 +0200 Subject: [PATCH] update step25 build zig1.wasm --- run | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/run b/run index bd7c761..2c235d8 100755 --- a/run +++ b/run @@ -566,22 +566,40 @@ step24() { } } -# commit a5c910adb610ae530db99f10aa77aaed3e85e830 +# commit a8de15f66a51d273cefa07eed0d8fd2952e92387 # Author: Andrew Kelley -# Date: Thu Apr 13 21:44:40 2023 -0700 +# Date: Mon Apr 24 13:29:42 2023 -0700 # -# change semantics of `@memcpy` and `@memset` +# update zig1.wasm # -STEP25=a5c910adb610ae530db99f10aa77aaed3e85e830 -STEP25_=0.10.0-2825-ga5c910adb6 +# Needed due to the compiler depending on standard library APIs such as +# ArrayList that contain `@memset` and `@memcpy` calls in them. The number +# of parameters changed, so this is necessary for the compiler to build. +# +STEP25_A=a8de15f66a51d273cefa07eed0d8fd2952e92387 + +# One commit before changing @memset@/@memcpy semantics: +# +# commit 8d88dcdc61c61e3410138f4402482131f5074a80 +# Author: David Carlier +# Date: 2023-04-23T02:47:29+03:00 +# +# std.c: adding mincore for freebsd +# +STEP25_B=8d88dcdc61c61e3410138f4402482131f5074a80 +STEP25_=0.10.0-2838-ga8de15f66a step25() { rm -fr "../zig-$STEP25_" - git archive --prefix=zig-$STEP25_/ $STEP25 | tar -C .. -x - git archive --prefix=zig-$STEP25_/ $STEP25~1 lib | tar -C .. -x + git archive --prefix=zig-$STEP25_/ $STEP25_A | tar -C .. -x + mv ../zig-$STEP25_/lib ../zig-$STEP25_/lib.bk + git archive --prefix=zig-$STEP25_/ $STEP25_B lib | tar -C .. -x { pushd "../zig-$STEP25_" cp ../zig-$STEP24_/stage1/zig1.wasm stage1/zig1.wasm halfbuild 16 + rm -fr lib + mv lib.bk lib + build/zig2 build update-zig1 popd } }