* docs(arm64): Add comprehensive ARM64 audit, benchmark, and gap analysis - ARM64_AUDIT_BENCHMARK.md: Platform certification with full audit results * Apple Silicon M1/M2/M3 native dudect verification (48/49 modules) * Android ARM64 (Cortex-A55) real hardware benchmarks * Linux ARM64 cross-compile validation * Performance comparison: ARM64 vs x86-64 vs RISC-V * CI workflows: ct-arm64.yml, release.yml Android NDK - ARM64_GAPS_ANALYSIS.md: Testing and optimization opportunities * Testing gaps: Native Linux ARM64 CI, Android device farm * Optimization roadmap: NEON batch ops (2-3x speedup priority) * Stack round-trip elimination, Metal GPU analysis * Decision matrix with effort/impact/recommendations - README.md: Add ARM64 docs to Documentation section Addresses issue #87 ARM audit request * fix: stabilize dev point.cpp and reduce clang-tidy hotspots (#106) * fix(clang-tidy): clear repeated const/init/braces warnings hotspots * fix(point): repair broken preprocessor branches in point ops (#104) Co-authored-by: shrec <shrec@users.noreply.github.com> --------- Co-authored-by: shrec <shrec@users.noreply.github.com> * riscv: speed up schnorr raw verify parsing/cache path * docs: add native mars riscv benchmark and audit results * ci(ct-arm64): avoid forcing -fuse-ld=lld on Apple * ci(mobile): avoid forcing -fuse-ld=lld on Android toolchains * ci(android/ios): fix arm target detection, asm gating, xcframework lto * fix(windows): correct BE parse byteswap under MSVC * sync: ESP32 bench hornet + benchmark data + CI scripts - fix(esp32): guard thread_local 36KB lift_x cache on embedded platforms - add: ESP32-S3 bench_hornet raw serial output + README - add: x86-64 bench_unified JSON/TXT results + validation reports - add: cross-platform comparison README updates - add: local CI scripts (ci-local.sh, docker-compose.ci.yml) - add: RISC-V Mars SSH helper, LOCAL_CI docs, RELEASE_PROCESS - update: ESP32 sdkconfig defaults for bench_hornet Addresses benchmark data preservation and ESP32 boot crash fix. --------- Co-authored-by: shrec <shrec@users.noreply.github.com>
35 lines
888 B
Bash
Executable File
35 lines
888 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
# Milk-V Mars (RISC-V) helper.
|
|
# Password is always entered by the user at runtime (never stored).
|
|
|
|
HOST="192.168.1.31"
|
|
USER_NAME="user"
|
|
|
|
SSH_OPTS=(
|
|
-o PreferredAuthentications=password
|
|
-o PubkeyAuthentication=no
|
|
-o StrictHostKeyChecking=accept-new
|
|
)
|
|
|
|
if command -v sshpass >/dev/null 2>&1; then
|
|
# Optional path: secure hidden prompt handled locally, then pass via env.
|
|
read -rsp "Password for ${USER_NAME}@${HOST}: " SSHPASS
|
|
echo
|
|
export SSHPASS
|
|
if [ "$#" -gt 0 ]; then
|
|
sshpass -e ssh "${SSH_OPTS[@]}" "${USER_NAME}@${HOST}" "$@"
|
|
else
|
|
sshpass -e ssh "${SSH_OPTS[@]}" "${USER_NAME}@${HOST}"
|
|
fi
|
|
unset SSHPASS
|
|
else
|
|
# Native SSH prompt: you type password directly in ssh prompt.
|
|
if [ "$#" -gt 0 ]; then
|
|
ssh "${SSH_OPTS[@]}" "${USER_NAME}@${HOST}" "$@"
|
|
else
|
|
ssh "${SSH_OPTS[@]}" "${USER_NAME}@${HOST}"
|
|
fi
|
|
fi
|