From 51e5f7650247e76427efffbee26fcebd98e97598 Mon Sep 17 00:00:00 2001 From: SolDev69 Date: Mon, 1 Jan 2024 11:35:23 -0500 Subject: [PATCH] compile turnip for arm32 --- .github/workflows/pojav-turnip.yml | 2 +- android-turnip-aarch64 | 4 ++-- android-turnip-arm32 | 13 +++++++++++++ 3 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 android-turnip-arm32 diff --git a/.github/workflows/pojav-turnip.yml b/.github/workflows/pojav-turnip.yml index 9b825fac6ec..c2ac0aedf3d 100644 --- a/.github/workflows/pojav-turnip.yml +++ b/.github/workflows/pojav-turnip.yml @@ -8,7 +8,7 @@ jobs: build: strategy: matrix: - arch: [ "aarch64" ] + arch: [ "aarch64", "arm32" ] fail-fast: false name: "Build for ${{matrix.arch}}" diff --git a/android-turnip-aarch64 b/android-turnip-aarch64 index e46e3ac6063..a07dab511e5 100644 --- a/android-turnip-aarch64 +++ b/android-turnip-aarch64 @@ -1,7 +1,7 @@ [binaries] ar = '$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar' -c = ['ccache', '$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android28-clang'] -cpp = ['ccache', '$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android28-clang++', '-fno-exceptions', '-fno-unwind-tables', '-fno-asynchronous-unwind-tables', '-static-libstdc++'] +c = ['ccache', '$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android26-clang'] +cpp = ['ccache', '$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android26-clang++', '-fno-exceptions', '-fno-unwind-tables', '-fno-asynchronous-unwind-tables', '-static-libstdc++'] c_ld = 'lld' cpp_ld = 'lld' strip = '$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-strip' diff --git a/android-turnip-arm32 b/android-turnip-arm32 new file mode 100644 index 00000000000..c1461b2bc0a --- /dev/null +++ b/android-turnip-arm32 @@ -0,0 +1,13 @@ +[binaries] +ar = '$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar' +c = ['ccache', '$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi26-clang'] +cpp = ['ccache', '$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi26-clang++', '-fno-exceptions', '-fno-unwind-tables', '-fno-asynchronous-unwind-tables', '-static-libstdc++'] +c_ld = 'lld' +cpp_ld = 'lld' +strip = '$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi-strip' +pkgconfig = ['env', 'PKG_CONFIG_LIBDIR=.', '/usr/bin/pkg-config'] +[host_machine] +system = 'android' +cpu_family = 'arm' +cpu = 'armv7' +endian = 'little' \ No newline at end of file