mirror of
https://github.com/logos-blockchain/logos-blockchain-rust-rapidsnark.git
synced 2026-06-07 19:59:33 +00:00
rename: arm64 -> aarch64 in PIC artifact naming for triple consistency
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
15305c272f
commit
8f51c339fd
8
.github/workflows/build-pic-archives.yml
vendored
8
.github/workflows/build-pic-archives.yml
vendored
@ -37,9 +37,9 @@ jobs:
|
||||
slug: rapidsnark-linux-x86_64-pic
|
||||
# Empty => cmake defaults to the x86_64 field-arithmetic asm (nasm).
|
||||
target_platform: ""
|
||||
- arch: arm64
|
||||
- arch: aarch64
|
||||
runner: ubuntu-22.04-arm
|
||||
slug: rapidsnark-linux-arm64-pic
|
||||
slug: rapidsnark-linux-aarch64-pic
|
||||
# aarch64 => cmake uses the AArch64 .s field arithmetic, not x86 nasm.
|
||||
target_platform: "aarch64"
|
||||
runs-on: ${{ matrix.runner }}
|
||||
@ -86,8 +86,8 @@ jobs:
|
||||
fmt=$(objdump -f rs/bp/src/libfr.a | grep -m1 'file format')
|
||||
echo "libfr.a -> $fmt"
|
||||
case "${{ matrix.arch }}" in
|
||||
x86_64) echo "$fmt" | grep -q 'elf64-x86-64' || { echo "::error::expected x86-64 objects"; exit 1; } ;;
|
||||
arm64) echo "$fmt" | grep -q 'elf64-littleaarch64' || { echo "::error::expected aarch64 objects"; exit 1; } ;;
|
||||
x86_64) echo "$fmt" | grep -q 'elf64-x86-64' || { echo "::error::expected x86-64 objects"; exit 1; } ;;
|
||||
aarch64) echo "$fmt" | grep -q 'elf64-littleaarch64' || { echo "::error::expected aarch64 objects"; exit 1; } ;;
|
||||
esac
|
||||
echo "architecture OK for ${{ matrix.arch }}"
|
||||
|
||||
|
||||
@ -31,7 +31,7 @@ arch=$(echo "$TARGET" | cut -d'-' -f1)
|
||||
# Map the rust target triple to the release asset slug and its hosting base URL.
|
||||
case "$TARGET" in
|
||||
x86_64-*-linux-*) asset="rapidsnark-linux-x86_64-pic-$VERSION"; base_url="$FORK_BASE" ;;
|
||||
aarch64-*-linux-gnu*) asset="rapidsnark-linux-arm64-pic-$VERSION"; base_url="$FORK_BASE" ;;
|
||||
aarch64-*-linux-gnu*) asset="rapidsnark-linux-aarch64-pic-$VERSION"; base_url="$FORK_BASE" ;;
|
||||
aarch64-linux-android) asset="rapidsnark-android-arm64-$VERSION"; base_url="$IDEN3_BASE" ;;
|
||||
x86_64-linux-android) asset="rapidsnark-android-x86_64-$VERSION"; base_url="$IDEN3_BASE" ;;
|
||||
aarch64-apple-darwin) asset="rapidsnark-macOS-arm64-$VERSION"; base_url="$IDEN3_BASE" ;;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user