From 840ba44158bc12f0a70db3b9d75e10ca170a874d Mon Sep 17 00:00:00 2001 From: Jacob Szwejbka Date: Tue, 20 May 2025 10:39:06 -0700 Subject: [PATCH] add extension training to android builds Differential Revision: D75081467 --- scripts/build_android_library.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build_android_library.sh b/scripts/build_android_library.sh index 57516e30eef..86afc105dd4 100755 --- a/scripts/build_android_library.sh +++ b/scripts/build_android_library.sh @@ -50,6 +50,7 @@ build_android_native_library() { -DEXECUTORCH_BUILD_EXTENSION_MODULE=ON \ -DEXECUTORCH_BUILD_EXTENSION_RUNNER_UTIL=ON \ -DEXECUTORCH_BUILD_EXTENSION_TENSOR=ON \ + -DEXECUTORCH_BUILD_EXTENSION_TRAINING=ON \ -DEXECUTORCH_BUILD_KERNELS_OPTIMIZED=ON \ -DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON \ -DEXECUTORCH_BUILD_KERNELS_CUSTOM="${EXECUTORCH_BUILD_EXTENSION_LLM:-ON}" \