From b40d7751a43da06b82132cc36d850bbb82f15e24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sun, 3 Nov 2024 23:44:29 +0200 Subject: [PATCH] later --- run | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/run b/run index 69b26cb..14e1d15 100755 --- a/run +++ b/run @@ -115,6 +115,7 @@ step00() { step10() { echo "Generating zig1.wasm.zst for $BOUNDFN" + rm -fr ../zig-$BOUNDFN git archive --prefix=zig-$BOUNDFN/ $BOUNDFN | tar -C .. -x --exclude="stage1/zig1.wasm*" { @@ -136,6 +137,7 @@ step10() { step20() { 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*" { @@ -159,6 +161,7 @@ generic() { local TO="$2" 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" { @@ -182,6 +185,6 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then step00 step10 step20 - generic "$C_AARCH64" "$CALL_CHANGES" - generic "$CALL_CHANGES" "$BUILTIN_TYPE" + #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" # later fi