aboutsummaryrefslogtreecommitdiff
path: root/BuildGuideAndroidNDK.md
diff options
context:
space:
mode:
authorCathal Corbett <cathal.corbett@arm.com>2022-07-12 12:15:57 +0100
committerNikhil Raj <nikhil.raj@arm.com>2022-07-27 15:52:37 +0100
commit49016e0f32a35671a8c16006860514ea1447d93f (patch)
tree5b6de7c43d2d2b9738e29a672b456406749ac8b7 /BuildGuideAndroidNDK.md
parentb1f5f700c5efae12598b01bc3f055f5dd2bd6e2e (diff)
downloadarmnn-49016e0f32a35671a8c16006860514ea1447d93f.tar.gz
Documentation refactor and updates.
* Includes updating ContributorGuide.md with information section 'Contributing code to Arm NN'. * Renaming of ContributorGuide.md to CONTRIBUTING.md. Also renamed associated licence file and links in other pages that call the md file. Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: Ic3336d78b64ae41af07ea9fd03631bb161613c4b
Diffstat (limited to 'BuildGuideAndroidNDK.md')
-rw-r--r--BuildGuideAndroidNDK.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/BuildGuideAndroidNDK.md b/BuildGuideAndroidNDK.md
index d25aa1c1bb..3f3f642d14 100644
--- a/BuildGuideAndroidNDK.md
+++ b/BuildGuideAndroidNDK.md
@@ -40,7 +40,7 @@ All downloaded or generated files will be saved inside the `$HOME/armnn-devenv`
## Install Cmake
Cmake 3.19rc3 is required to build Arm NN.
-'''
+```bash
cd $HOME/armnn-devenv
sudo apt-get install libssl-dev
wget https://github.com/Kitware/CMake/releases/download/v3.19.0-rc3/cmake-3.19.0-rc3.tar.gz
@@ -49,7 +49,7 @@ cd cmake-3.19.0-rc3
./bootstrap --prefix=$HOME/armnn-devenv/cmake/install
make all install
cd..
-'''
+```
## Build Google's Protobuf library (Optional)
@@ -63,13 +63,13 @@ cd protobuf
git checkout -b v3.12.0 v3.12.0
```
-* Build a native (x86) version of the protobuf libraries and compiler (protoc):
+* Build a native (x86) version of the protobuf libraries and compiler (protoc):
(Requires cUrl, autoconf, llibtool, and other build dependencies if not previously installed: `sudo apt install curl autoconf libtool build-essential g++`)
```bash
./autogen.sh
-mkdir x86_build
-cd x86_build
-../configure --prefix=$HOME/armnn-devenv/google/x86_pb_install
+mkdir x86_64_build
+cd x86_64_build
+../configure --prefix=$HOME/armnn-devenv/google/x86_64_pb_install
make install -j16
cd ..
```
@@ -85,7 +85,7 @@ CFLAGS="-fPIE -fPIC" \
../configure --host=aarch64-linux-android \
--prefix=$HOME/armnn-devenv/google/arm64_pb_install \
--enable-cross-compile \
- --with-protoc=$HOME/armnn-devenv/google/x86_pb_install/bin/protoc
+ --with-protoc=$HOME/armnn-devenv/google/x86_64_pb_install/bin/protoc
make install -j16
cd ..
```