Skip to content

Commit

Permalink
test rustup execution time
Browse files Browse the repository at this point in the history
  • Loading branch information
maelchiotti committed Jan 3, 2025
1 parent 71a1d9a commit d96d57d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/build-android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ cargo install cargo-ndk --locked

# Build the android libraries in the jniLibs directory
if [ "$#" -eq 0 ]; then
rustup target add \
echo ">>>>>>>>>>>>>>>>>> add all"
time rustup target add \
aarch64-linux-android \
armv7-linux-androideabi \
x86_64-linux-android \
Expand Down Expand Up @@ -42,7 +43,8 @@ elif [ "$1" = "armv7" ]; then
rustup target add armv7-linux-androideabi
cargo ndk -o $JNI_DIR --manifest-path ../Cargo.toml -t armeabi-v7a build --release
elif [ "$1" = "arm64" ]; then
rustup target add aarch64-linux-android
echo ">>>>>>>>>>>>>>>>>> add one"
time rustup target add aarch64-linux-android
cargo ndk -o $JNI_DIR --manifest-path ../Cargo.toml -t arm64-v8a build --release
else
echo "Invalid architecture: '$1'"
Expand Down

0 comments on commit d96d57d

Please sign in to comment.