Skip to content

Commit bc09cf9

Browse files
authored
android build vulkan in AAR
Differential Revision: D70842749 Pull Request resolved: #9065
1 parent 2255238 commit bc09cf9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build/build_android_library.sh

+3
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ build_android_native_library() {
4040
EXECUTORCH_BUILD_NEURON=OFF
4141
fi
4242

43+
EXECUTORCH_BUILD_VULKAN="${EXECUTORCH_BUILD_VULKAN:-OFF}"
44+
4345
cmake . -DCMAKE_INSTALL_PREFIX="${CMAKE_OUT}" \
4446
-DCMAKE_TOOLCHAIN_FILE="${ANDROID_NDK}/build/cmake/android.toolchain.cmake" \
4547
-DANDROID_ABI="${ANDROID_ABI}" \
@@ -60,6 +62,7 @@ build_android_native_library() {
6062
-DNEURON_BUFFER_ALLOCATOR_LIB="${NEURON_BUFFER_ALLOCATOR_LIB}" \
6163
-DEXECUTORCH_BUILD_QNN="${EXECUTORCH_BUILD_QNN}" \
6264
-DQNN_SDK_ROOT="${QNN_SDK_ROOT}" \
65+
-DEXECUTORCH_BUILD_VULKAN="${EXECUTORCH_BUILD_VULKAN}" \
6366
-DCMAKE_BUILD_TYPE="${EXECUTORCH_CMAKE_BUILD_TYPE}" \
6467
-B"${CMAKE_OUT}"
6568

0 commit comments

Comments
 (0)