aboutsummaryrefslogtreecommitdiff
path: root/shim/BuildGuideShimSupportLibrary.md
diff options
context:
space:
mode:
Diffstat (limited to 'shim/BuildGuideShimSupportLibrary.md')
-rw-r--r--shim/BuildGuideShimSupportLibrary.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/shim/BuildGuideShimSupportLibrary.md b/shim/BuildGuideShimSupportLibrary.md
index 1d8fb43cae..8029032371 100644
--- a/shim/BuildGuideShimSupportLibrary.md
+++ b/shim/BuildGuideShimSupportLibrary.md
@@ -31,6 +31,8 @@ export AOSP_ROOT=<path/to/aosp/root>
export NDK=<path/to/>/android-ndk-r20b
export NDK_TOOLCHAIN_ROOT=$NDK/toolchains/llvm/prebuilt/linux-x86_64
export PATH=$NDK_TOOLCHAIN_ROOT/bin/:$PATH
+export $FLATBUFFERS_ANDROID_BUILD=<path/to/flatbuffers/target/android/build>
+export $FLATBUFFERS_X86_BUILD=<path/to/flatbuffers/host/build-x86_64>
```
## Download Arm NN
@@ -83,8 +85,8 @@ CXX_FLAGS="-fPIE -fPIC" cmake .. \
-DARMCOMPUTE_ROOT=$AOSP_ROOT/vendor/arm/clframework/ \
-DARMCOMPUTE_BUILD_DIR=$AOSP_ROOT/vendor/arm/clframework/build/android-arm64v8a/ \
-DARMCOMPUTENEON=1 -DARMCOMPUTECL=1 -DARMNNREF=1 \
--DFLATBUFFERS_ROOT=<path/to/flatbuffers/target/android/build> \
--DFLATC_DIR=<path/to/flatbuffers/host/build-x86_64> \
+-DFLATBUFFERS_ROOT=$FLATBUFFERS_ANDROID_BUILD \
+-DFLATC_DIR=$FLATBUFFERS_X86_BUILD \
-DBUILD_ARMNN_SERIALIZER=1 -DBUILD_GATORD_MOCK=0 -DBUILD_BASE_PIPE_SERVER=0
```