Skip to content

Commit

Permalink
Bump NDK version
Browse files Browse the repository at this point in the history
  • Loading branch information
AJenbo committed Jul 25, 2022
1 parent 213b8e9 commit 9fa02e0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 13 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/Android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ jobs:
distribution: 'adopt'
cache: gradle

# CMake version 3.21.3 causes gradle to throw a NullPointerException during the build
# Removing it will cause gradle to fall back on 3.18.1 installed by the Android SDK
- name: Create Build Environment
run: rm /usr/local/bin/cmake

- name: Cache CMake build folder
uses: actions/cache@v2
with:
Expand Down
5 changes: 0 additions & 5 deletions CMake/platforms/android.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,3 @@ set(UBSAN OFF)

# Disable in-game options to exit the game.
set(NOEXIT ON)

if(CMAKE_BUILD_TYPE STREQUAL "Release")
# Work around a linker bug in clang: https://github.com/android/ndk/issues/721
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -flto=full")
endif()
5 changes: 4 additions & 1 deletion android-project/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ if (buildAsApplication) {
}

android {
//ndkVersion '25.0.8775105'
//ndkVersion '24.0.8215888'
ndkVersion '23.2.8568313'
compileSdkVersion 32
defaultConfig {
if (buildAsApplication) {
Expand Down Expand Up @@ -40,7 +43,7 @@ android {
externalNativeBuild {
cmake {
path '../../CMakeLists.txt'
version "3.13.0+"
version "3.22.1+"
}
}

Expand Down
4 changes: 2 additions & 2 deletions android-project/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Thu Nov 11 18:20:34 PST 2021
#Mon Jul 25 04:46:02 CEST 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME

0 comments on commit 9fa02e0

Please sign in to comment.