later
This commit is contained in:
parent
1efdfdeb70
commit
b40d7751a4
7
run
7
run
|
@ -115,6 +115,7 @@ step00() {
|
||||||
|
|
||||||
step10() {
|
step10() {
|
||||||
echo "Generating zig1.wasm.zst for $BOUNDFN"
|
echo "Generating zig1.wasm.zst for $BOUNDFN"
|
||||||
|
rm -fr ../zig-$BOUNDFN
|
||||||
git archive --prefix=zig-$BOUNDFN/ $BOUNDFN | tar -C .. -x --exclude="stage1/zig1.wasm*"
|
git archive --prefix=zig-$BOUNDFN/ $BOUNDFN | tar -C .. -x --exclude="stage1/zig1.wasm*"
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -136,6 +137,7 @@ step10() {
|
||||||
|
|
||||||
step20() {
|
step20() {
|
||||||
echo "Generating zig1.wasm.zst for $C_AARCH64"
|
echo "Generating zig1.wasm.zst for $C_AARCH64"
|
||||||
|
rm -fr ../zig-$BOUNDFN
|
||||||
git archive --prefix=zig-$C_AARCH64/ $C_AARCH64 | tar -C .. -x --exclude="stage1/zig1.wasm*"
|
git archive --prefix=zig-$C_AARCH64/ $C_AARCH64 | tar -C .. -x --exclude="stage1/zig1.wasm*"
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -159,6 +161,7 @@ generic() {
|
||||||
local TO="$2"
|
local TO="$2"
|
||||||
|
|
||||||
echo "Updating zig1.wasm from $FROM -> $TO in ../zig-$TO"
|
echo "Updating zig1.wasm from $FROM -> $TO in ../zig-$TO"
|
||||||
|
rm -fr "../zig-$TO"
|
||||||
git archive --prefix="zig-$TO/" "$TO" | tar -C .. -x --exclude="stage1/zig1.wasm"
|
git archive --prefix="zig-$TO/" "$TO" | tar -C .. -x --exclude="stage1/zig1.wasm"
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -182,6 +185,6 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
|
||||||
step00
|
step00
|
||||||
step10
|
step10
|
||||||
step20
|
step20
|
||||||
generic "$C_AARCH64" "$CALL_CHANGES"
|
#generic "$C_AARCH64" "$CALL_CHANGES" # https://ziggit.dev/t/building-self-hosted-from-the-original-c-implementation/6607/10?u=motiejus
|
||||||
generic "$CALL_CHANGES" "$BUILTIN_TYPE"
|
#generic "$CALL_CHANGES" "$BUILTIN_TYPE" # later
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue