File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 26
26
with :
27
27
job-name : Build doc
28
28
runner : linux.2xlarge
29
- docker-image : executorch-ubuntu-22.04-clang12
29
+ docker-image : executorch-ubuntu-22.04-clang12-android
30
30
submodules : ' true'
31
31
repository : pytorch/executorch
32
32
upload-artifact : docs
70
70
71
71
# Build javadoc:
72
72
cd extension/android
73
- ./gradlew :executorch_android:javaDocReleaseGeneration
73
+ ANDROID_HOME="${ANDROID_SDK:-/opt/android/sdk}" ./gradlew :executorch_android:javaDocReleaseGeneration
74
74
cp -rf executorch_android/build/intermediates/java_doc_dir/release/javaDocReleaseGeneration "${RUNNER_DOCS_DIR}/javadoc"
75
75
cd ../..
76
76
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ build_aar() {
125
125
if [ " $EXECUTORCH_CMAKE_BUILD_TYPE " == " Release" ]; then
126
126
find . -type f -name " *.so" -exec " $ANDROID_NDK " /toolchains/llvm/prebuilt/* /bin/llvm-strip {} \;
127
127
fi
128
- ./gradlew build
128
+ ANDROID_HOME= " ${ANDROID_SDK :-/ opt / android / sdk} " ./gradlew build
129
129
cp executorch_android/build/outputs/aar/executorch_android-debug.aar executorch.aar
130
130
popd
131
131
}
You can’t perform that action at this time.
0 commit comments