Skip to content

Commit 1dc7a0d

Browse files
authored
Try to build QNN AAR
1 parent 3826eee commit 1dc7a0d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/android-release-artifacts.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
build-aar:
3232
name: build-aar
3333
needs: check-if-aar-exists
34-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
34+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
3535
permissions:
3636
id-token: write
3737
contents: read
@@ -52,10 +52,13 @@ jobs:
5252
PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh --build-tool buck2
5353
export ARTIFACTS_DIR_NAME=artifacts-to-be-uploaded
5454
55+
PYTHON_EXECUTABLE=python bash .ci/scripts/setup-qnn-deps.sh
56+
PYTHON_EXECUTABLE=python bash .ci/scripts/build-qnn-sdk.sh
57+
5558
# Build AAR Package
5659
mkdir aar-out
5760
export BUILD_AAR_DIR=aar-out
58-
bash scripts/build_android_library.sh
61+
EXECUTORCH_BUILD_QNN=ON QNN_SDK_ROOT=/tmp/qnn/2.28.0.241029 bash scripts/build_android_library.sh
5962
mkdir -p "${ARTIFACTS_DIR_NAME}"
6063
cp aar-out/executorch.aar "${ARTIFACTS_DIR_NAME}/executorch.aar"
6164

0 commit comments

Comments
 (0)