update step25 build zig1.wasm

This commit is contained in:
Motiejus Jakštys 2024-11-09 19:05:07 +02:00
parent a979784852
commit 39fdefe34f

32
run
View File

@ -566,22 +566,40 @@ step24() {
}
}
# commit a5c910adb610ae530db99f10aa77aaed3e85e830
# commit a8de15f66a51d273cefa07eed0d8fd2952e92387
# Author: Andrew Kelley <andrew@ziglang.org>
# 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 <devnexen@gmail.com>
# 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
}
}