Skip to content

Commit 1887199

Browse files
committed
Use new cross image with stable cross binary
1 parent ca315b1 commit 1887199

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Cross.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ pre-build = ["apt-get install -y cmake clang-5.0"]
66

77
[target.riscv64gc-unknown-linux-gnu]
88
pre-build = ["apt-get install -y cmake clang"]
9+
# Use the most recent Cross image for RISCV because the stable 0.2.5 image doesn't work
10+
image = "ghcr.io/cross-rs/riscv64gc-unknown-linux-gnu:main"
911

1012
# Allow setting page size limits for jemalloc at build time:
1113
# For certain architectures (like aarch64), we must compile

Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ build-aarch64:
7070
# See: https://github.com/sigp/lighthouse/issues/5244
7171
JEMALLOC_SYS_WITH_LG_PAGE=16 cross build --bin lighthouse --target aarch64-unknown-linux-gnu --features "portable,$(CROSS_FEATURES)" --profile "$(CROSS_PROFILE)" --locked
7272
build-riscv64:
73-
# cross release v0.2.5 is to old, build from sources
74-
cargo install cross --git https://github.com/cross-rs/cross
7573
cross build --bin lighthouse --target riscv64gc-unknown-linux-gnu --features "portable,$(CROSS_FEATURES)" --profile "$(CROSS_PROFILE)" --locked
7674

7775
build-lcli-x86_64:
@@ -82,8 +80,6 @@ build-lcli-aarch64:
8280
# See: https://github.com/sigp/lighthouse/issues/5244
8381
JEMALLOC_SYS_WITH_LG_PAGE=16 cross build --bin lcli --target aarch64-unknown-linux-gnu --features "portable" --profile "$(CROSS_PROFILE)" --locked
8482
build-lcli-riscv64:
85-
# cross release v0.2.5 is to old, build from sources
86-
cargo install cross --git https://github.com/cross-rs/cross
8783
cross build --bin lcli --target riscv64gc-unknown-linux-gnu --features "portable" --profile "$(CROSS_PROFILE)" --locked
8884

8985
# Create a `.tar.gz` containing a binary for a specific target.

0 commit comments

Comments
 (0)