17 Commits

Author SHA1 Message Date
David Rusu
8f51c339fd rename: arm64 -> aarch64 in PIC artifact naming for triple consistency
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 12:00:25 -04:00
David Rusu
15305c272f fix(ci): build arm64 with TARGET_PLATFORM=aarch64 (use AArch64 asm, not x86 nasm)
The default cmake config selects the x86_64 nasm field-arithmetic asm, which
produced x86_64 objects inside the arm64 archive (mixed-arch, unlinkable).
Pass TARGET_PLATFORM=aarch64 so the AArch64 .s sources are used, and add an
architecture guard that fails the build on a mismatch.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 11:55:04 -04:00
David Rusu
7afda1c36b ci: build linux-arm64 PIC archives too (native ubuntu-22.04-arm runner)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 11:16:42 -04:00
David Rusu
632ef6f643 fix: host -fPIC Linux archives from the fork instead of building from source
Building rapidsnark from source in build.rs required cmake/nasm/gmp on every
runner, which the self-hosted CI hosts lack. Instead, host pre-built -fPIC
static archives as a fork GitHub release and download them like before.

- build.rs: reverted to the download-based approach (the PIC archives are built
  on glibc 2.35 so they carry no __isoc23 references; no compat shim needed).
- download_rapidsnark.sh: Linux x86_64/arm64 now download the -fPIC rebuilds
  from this fork's `rapidsnark-pic-*` release; macOS/iOS/Android keep using the
  upstream iden3 archives (which work fine).
- Add .github/workflows/build-pic-archives.yml: builds the -fPIC archives
  (rapidsnark + GMP) inside a glibc-2.35 container and publishes/updates the
  release. Trigger by pushing a `rapidsnark-pic-*` tag or via workflow_dispatch.

Verified locally (glibc-2.35 container): the produced archives link into a
-shared cdylib with rust-lld.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 11:00:45 -04:00
Ya-wen, Jeng
df3831a8c2 feat: add GitHub Actions workflow to automatically add newly opened issues to a project 2025-08-19 13:25:25 +08:00
Ya-wen, Jeng
3b6c78a1e5 chore: bump version to 0.1.3 and add GitHub Actions workflow for crate publishing 2025-08-18 10:07:08 +08:00
Ya-wen, Jeng
55b04c95fa chore: remove rust-toolchain.toml and update CI configuration to use actions/checkout@v5 2025-08-14 10:22:06 +08:00
Ya-wen, Jeng
d43d386e69 chore: update Rust toolchain to version 1.89.0 in README and CI configuration 2025-08-14 10:18:56 +08:00
Ya-wen, Jeng
fb1cd7946c fix: fix CI, fix zkey_path 2025-03-06 11:46:14 +08:00
Ya-wen, Jeng
e7426c4b7c feat: add macOS x86_64 2025-02-01 00:23:09 +08:00
Ya-wen, Jeng
8f4beddbc3 feat: add x86_64-linux-android 2025-02-01 00:11:36 +08:00
Ya-wen, Jeng
f70eac078a chore: fix ios CI, add x86_64 noasm prover 2025-01-31 21:15:14 +08:00
Ya-wen, Jeng
8c669faf57 fix: fix add target 2025-01-31 21:02:45 +08:00
Ya-wen, Jeng
19a2da20c9 feat: add ios simulator files 2025-01-31 20:14:27 +08:00
Ya-wen, Jeng
85bb9241d6 fix: fix toolchain 2025-01-31 15:39:21 +08:00
Ya-wen, Jeng
1c67291bfb feat: add x86_64, aarch64 target 2025-01-31 14:18:18 +08:00
vimwitch
a261813f77 initial commit 2025-01-29 14:42:27 -08:00