diff --git a/.github/workflows/_android.yml b/.github/workflows/_android.yml index 8378d7ed4d9..a38ed4527e9 100644 --- a/.github/workflows/_android.yml +++ b/.github/workflows/_android.yml @@ -14,7 +14,7 @@ jobs: with: runner: linux.2xlarge docker-image: executorch-ubuntu-22.04-clang12-android - submodules: 'true' + submodules: 'recursive' ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} timeout: 90 upload-artifact: android-apps diff --git a/.github/workflows/android-perf.yml b/.github/workflows/android-perf.yml index 09a6453094f..931bdbfe22d 100644 --- a/.github/workflows/android-perf.yml +++ b/.github/workflows/android-perf.yml @@ -345,7 +345,7 @@ jobs: with: runner: linux.2xlarge docker-image: executorch-ubuntu-22.04-clang12-android - submodules: 'true' + submodules: 'recursive' ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} timeout: 90 upload-artifact: android-apps diff --git a/.github/workflows/android-release-artifacts.yml b/.github/workflows/android-release-artifacts.yml index 2503bf2214b..9add3116236 100644 --- a/.github/workflows/android-release-artifacts.yml +++ b/.github/workflows/android-release-artifacts.yml @@ -45,7 +45,7 @@ jobs: secrets-env: EXECUTORCH_MAVEN_SIGNING_KEYID EXECUTORCH_MAVEN_SIGNING_PASSWORD EXECUTORCH_MAVEN_CENTRAL_PASSWORD EXECUTORCH_MAVEN_CENTRAL_USERNAME EXECUTORCH_MAVEN_SIGNING_GPG_KEY_CONTENTS runner: linux.2xlarge docker-image: executorch-ubuntu-22.04-clang12-android - submodules: 'true' + submodules: 'recursive' ref: ${{ github.sha }} timeout: 90 upload-artifact: android-apps diff --git a/scripts/build_android_library.sh b/scripts/build_android_library.sh index a32ac5f4e5b..c96793a126a 100755 --- a/scripts/build_android_library.sh +++ b/scripts/build_android_library.sh @@ -65,11 +65,6 @@ build_android_native_library() { fi cmake --build "${CMAKE_OUT}" -j "${CMAKE_JOBS}" --target install --config "${EXECUTORCH_CMAKE_BUILD_TYPE}" - # Update tokenizers submodule - pushd extension/llm/tokenizers - echo "Update tokenizers submodule" - git submodule update --init - popd cmake extension/android \ -DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK}/build/cmake/android.toolchain.cmake \ -DANDROID_ABI="${ANDROID_ABI}" \