Skip to content

Commit

Permalink
TODO: add dynamic arch swapper code
Browse files Browse the repository at this point in the history
  • Loading branch information
RevoluPowered committed Apr 15, 2024
1 parent 9098081 commit d0f3153
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion modules/jolt/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,13 @@ elif env["platform"] == "macos":
cmake_platform_opts += ' -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.15" '

elif env["platform"] == "android":
cmake_platform_opts += ' -DCMAKE_OSX_ARCHITECTURES="aarch64" -DCROSS_COMPILE_ARM=1'
#cmake_platform_opts += ' -DANDROID_NDK_VERSION=23.2.8568313'
cmake_platform_opts += ' -DCMAKE_SYSTEM_NAME=Android'
cmake_platform_opts += ' -DCMAKE_SYSTEM_VERSION=23'
cmake_platform_opts += ' -DCMAKE_ANDROID_ARCH_ABI=arm64-v8a'
cmake_platform_opts += ' -DCMAKE_ANDROID_NDK=/Users/gordon/Library/Android/sdk/ndk/23.2.8568313'
cmake_platform_opts += ' -DANDROID_ARM_NEON=ON'
cmake_platform_opts += ' -DCMAKE_ANDROID_NDK_TOOLCHAIN_VERSION=clang'
cmake_generator_type = '"Unix Makefiles"'

elif env["platform"] == "windows":
Expand Down

0 comments on commit d0f3153

Please sign in to comment.