mirror of
https://github.com/selfxyz/self.git
synced 2026-01-15 01:28:18 -05:00
17 lines
410 B
Bash
Executable File
17 lines
410 B
Bash
Executable File
#!/bin/bash
|
|
|
|
source "scripts/common.sh"
|
|
|
|
cd witnesscalc
|
|
./build_gmp.sh android
|
|
make android
|
|
cd ..
|
|
|
|
# Copy artifacts for each circuit
|
|
for circuit in "${CIRCUITS[@]}"; do
|
|
cp witnesscalc/build_witnesscalc_android/src/libwitnesscalc_${circuit}.so android/app/src/main/cpp/lib/
|
|
cp witnesscalc/src/witnesscalc_${circuit}.h android/app/src/main/cpp/include/
|
|
done
|
|
|
|
echo "copied artifacts to android directory"
|