From 49016e0f32a35671a8c16006860514ea1447d93f Mon Sep 17 00:00:00 2001 From: Cathal Corbett Date: Tue, 12 Jul 2022 12:15:57 +0100 Subject: 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 Change-Id: Ic3336d78b64ae41af07ea9fd03631bb161613c4b --- BuildGuideAndroidNDK.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'BuildGuideAndroidNDK.md') 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 .. ``` -- cgit v1.2.1