mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
Revert "ci: target baseline instead of spacemit_x60 on riscv64-linux"
This reverts commit fa445d86a1.
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.
This commit is contained in:
parent
765825b802
commit
493265486c
2 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ set -e
|
||||||
|
|
||||||
ARCH="$(uname -m)"
|
ARCH="$(uname -m)"
|
||||||
TARGET="$ARCH-linux-musl"
|
TARGET="$ARCH-linux-musl"
|
||||||
MCPU="baseline"
|
MCPU="spacemit_x60"
|
||||||
CACHE_BASENAME="zig+llvm+lld+clang-riscv64-linux-musl-0.15.0-dev.929+31e46be74"
|
CACHE_BASENAME="zig+llvm+lld+clang-riscv64-linux-musl-0.15.0-dev.929+31e46be74"
|
||||||
PREFIX="$HOME/deps/$CACHE_BASENAME"
|
PREFIX="$HOME/deps/$CACHE_BASENAME"
|
||||||
ZIG="$PREFIX/bin/zig"
|
ZIG="$PREFIX/bin/zig"
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ set -e
|
||||||
|
|
||||||
ARCH="$(uname -m)"
|
ARCH="$(uname -m)"
|
||||||
TARGET="$ARCH-linux-musl"
|
TARGET="$ARCH-linux-musl"
|
||||||
MCPU="baseline"
|
MCPU="spacemit_x60"
|
||||||
CACHE_BASENAME="zig+llvm+lld+clang-riscv64-linux-musl-0.15.0-dev.929+31e46be74"
|
CACHE_BASENAME="zig+llvm+lld+clang-riscv64-linux-musl-0.15.0-dev.929+31e46be74"
|
||||||
PREFIX="$HOME/deps/$CACHE_BASENAME"
|
PREFIX="$HOME/deps/$CACHE_BASENAME"
|
||||||
ZIG="$PREFIX/bin/zig"
|
ZIG="$PREFIX/bin/zig"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue