From 911ac3ef6f4f74537f992572073d5dd38343e23d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Mon, 18 Jul 2022 15:42:09 +0300 Subject: [PATCH] contrib/makerel: use x86_64_v3 and chmod +x --- contrib/makerel | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 contrib/makerel diff --git a/contrib/makerel b/contrib/makerel old mode 100644 new mode 100755 index 63d37ce..045b422 --- a/contrib/makerel +++ b/contrib/makerel @@ -1,7 +1,7 @@ #!/bin/bash set -euo pipefail -zigdir=out/zig-x86_64-linux-musl-baseline +zigdir=out/zig-x86_64-linux-musl-x86_64_v3 if [[ ! "$PWD" =~ /zig-bootstrap$ ]]; then >&2 echo "expected to be in zig-bootstrap directory. Bailing" @@ -11,7 +11,7 @@ fi if [[ ! -f "$zigdir/bin/zig" ]]; then >&2 echo "$zigdir/bin/zig not found. Please run:" - >&2 echo " ./build -j\$(nproc) x86_64-linux-musl baseline" + >&2 echo " ./build -j\$(nproc) x86_64-linux-musl x86_64_v3" exit 1 fi @@ -22,7 +22,7 @@ pushd "$zigdir" cp -r "bin/zig" "$outdir" cp -r "lib/zig" "$outdir/lib" tar -cf "$outdir.tar" "$outdir" - xz -vk --fast "$outdir.tar" + xz -vk -9 -T0 "$outdir.tar" popd echo "$zigdir/$outdir.tar.xz is ready for use"