Skip to content

Commit

Permalink
Fix deps generation for Android NDK
Browse files Browse the repository at this point in the history
  • Loading branch information
sevilS authored and antoniofrighetto committed Jul 25, 2024
1 parent db36845 commit 6f7aaf3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions scripts/deps/generate_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ generate_deps() {
${SCRIPT_PATH}/common/compile_pybind11.sh
${SCRIPT_PATH}/common/compile_spdlog.sh
if [ "$platform" == "ndk" ]; then
${SCRIPT_PATH}/ndk/compile_llvm_r25.sh
${SCRIPT_PATH}/ndk/compile_llvm_r26d.sh
# Generate tar
mv omvll-deps omvll-deps-ndk-r25c
tar -cvf ../omvll-deps-ndk-r25c.tar omvll-deps-ndk-r25c
mv omvll-deps omvll-deps-ndk-r26d
tar -cvf ../omvll-deps-ndk-r26d.tar omvll-deps-ndk-r26d
fi
cd ..
rm -rf tmp
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/usr/bin/env bash
# This script is used to compile the Android NDK r26c LLVM toolchain
# This script is used to compile the Android NDK r26d LLVM toolchain
set -e

host=$(uname)

NDK_VERSION=25.1.8937393
NDK_VERSION=26.3.11579264

if [ "$host" == "Darwin" ]; then
ndk_platform="darwin-x86_64"
Expand Down Expand Up @@ -63,3 +63,6 @@ cd .. && tar czf android-llvm-toolchain-r26d.tar.gz android-llvm-toolchain-r26d

# Clean up
rm -rf android-llvm-toolchain-r26d

# Move to the final folder
mv android-llvm-toolchain-r26d.tar.gz ./omvll-deps/

0 comments on commit 6f7aaf3

Please sign in to comment.