| author | |
| committer | |
| log | 493265486c939c9da1985fc7d0add0242a64d16a |
| tree | ac996e549bff37f625cc880ae19a1aec7748f9d9 |
| parent | 765825b80224f491e54fac83479cb31014352256 |
| signature |
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 |
| 7 | 7 | ||
| 8 | ARCH="$(uname -m)" | 8 | ARCH="$(uname -m)" |
| 9 | TARGET="$ARCH-linux-musl" | 9 | TARGET="$ARCH-linux-musl" |
| 10 | MCPU="baseline" | 10 | MCPU="spacemit_x60" |
| 11 | CACHE_BASENAME="zig+llvm+lld+clang-riscv64-linux-musl-0.15.0-dev.929+31e46be74" | 11 | CACHE_BASENAME="zig+llvm+lld+clang-riscv64-linux-musl-0.15.0-dev.929+31e46be74" |
| 12 | PREFIX="$HOME/deps/$CACHE_BASENAME" | 12 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 13 | ZIG="$PREFIX/bin/zig" | 13 | ZIG="$PREFIX/bin/zig" |
ci/riscv64-linux-release.sh+1-1| ... | @@ -7,7 +7,7 @@ set -e | ... | @@ -7,7 +7,7 @@ set -e |
| 7 | 7 | ||
| 8 | ARCH="$(uname -m)" | 8 | ARCH="$(uname -m)" |
| 9 | TARGET="$ARCH-linux-musl" | 9 | TARGET="$ARCH-linux-musl" |
| 10 | MCPU="baseline" | 10 | MCPU="spacemit_x60" |
| 11 | CACHE_BASENAME="zig+llvm+lld+clang-riscv64-linux-musl-0.15.0-dev.929+31e46be74" | 11 | CACHE_BASENAME="zig+llvm+lld+clang-riscv64-linux-musl-0.15.0-dev.929+31e46be74" |
| 12 | PREFIX="$HOME/deps/$CACHE_BASENAME" | 12 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 13 | ZIG="$PREFIX/bin/zig" | 13 | ZIG="$PREFIX/bin/zig" |