authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-08-03 22:38:39+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-08-03 22:40:13+02:00
log493265486c939c9da1985fc7d0add0242a64d16a
treeac996e549bff37f625cc880ae19a1aec7748f9d9
parent765825b80224f491e54fac83479cb31014352256
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

Revert "ci: target baseline instead of spacemit_x60 on riscv64-linux"

This reverts commit fa445d86a110f1171b75824fe5ec139089fa4733. Narrator: It did, in fact, make a difference. For whatever reason, building LLVM against spacemit_x60 or baseline makes no noticeable difference in terms of performance, but building the Zig compiler against spacemit_x60 does. Also, the miscompilation that was causing riscv64-linux-debug to fail was in the LLVM libraries, not in the Zig compiler, so we may as well take the win here.

2 files changed, 2 insertions(+), 2 deletions(-)

ci/riscv64-linux-debug.sh+1-1
...@@ -7,7 +7,7 @@ set -e...@@ -7,7 +7,7 @@ set -e
77
8ARCH="$(uname -m)"8ARCH="$(uname -m)"
9TARGET="$ARCH-linux-musl"9TARGET="$ARCH-linux-musl"
10MCPU="baseline"10MCPU="spacemit_x60"
11CACHE_BASENAME="zig+llvm+lld+clang-riscv64-linux-musl-0.15.0-dev.929+31e46be74"11CACHE_BASENAME="zig+llvm+lld+clang-riscv64-linux-musl-0.15.0-dev.929+31e46be74"
12PREFIX="$HOME/deps/$CACHE_BASENAME"12PREFIX="$HOME/deps/$CACHE_BASENAME"
13ZIG="$PREFIX/bin/zig"13ZIG="$PREFIX/bin/zig"
ci/riscv64-linux-release.sh+1-1
...@@ -7,7 +7,7 @@ set -e...@@ -7,7 +7,7 @@ set -e
77
8ARCH="$(uname -m)"8ARCH="$(uname -m)"
9TARGET="$ARCH-linux-musl"9TARGET="$ARCH-linux-musl"
10MCPU="baseline"10MCPU="spacemit_x60"
11CACHE_BASENAME="zig+llvm+lld+clang-riscv64-linux-musl-0.15.0-dev.929+31e46be74"11CACHE_BASENAME="zig+llvm+lld+clang-riscv64-linux-musl-0.15.0-dev.929+31e46be74"
12PREFIX="$HOME/deps/$CACHE_BASENAME"12PREFIX="$HOME/deps/$CACHE_BASENAME"
13ZIG="$PREFIX/bin/zig"13ZIG="$PREFIX/bin/zig"