diff options
author | Cathal Corbett <cathal.corbett@arm.com> | 2022-07-12 12:15:57 +0100 |
---|---|---|
committer | James Conroy <james.conroy@arm.com> | 2022-07-13 09:29:37 +0000 |
commit | c4bb774839c9d3580fbb7f06863aeba6517a0417 (patch) | |
tree | 5b6de7c43d2d2b9738e29a672b456406749ac8b7 /BuildGuideCrossCompilation.md | |
parent | 19e0b283c54c2617eae33e70d753a88a0fc13ad8 (diff) | |
download | armnn-c4bb774839c9d3580fbb7f06863aeba6517a0417.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 'BuildGuideCrossCompilation.md')
-rw-r--r-- | BuildGuideCrossCompilation.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/BuildGuideCrossCompilation.md b/BuildGuideCrossCompilation.md index 024dea88da..3018c35af3 100644 --- a/BuildGuideCrossCompilation.md +++ b/BuildGuideCrossCompilation.md @@ -20,10 +20,10 @@ These are the step by step instructions on Cross-Compiling Arm NN under an x86_64 system to target an Arm64 Ubuntu Linux system. This build flow has been tested with Ubuntu 18.04 and 20.04 and it depends on the same version of Ubuntu or Debian being installed on both the build host and target machines. The instructions assume you are using a bash shell and show how to build the Arm NN core library, Protobuf, Tflite, Flatbuffer and Compute Libraries. Start by creating a directory to contain all components: -''' +``` mkdir $HOME/armnn-devenv cd $HOME/armnn-devenv -''' +``` ## Cross-compiling ToolChain * Install the standard cross-compilation libraries for arm64: @@ -34,7 +34,7 @@ sudo apt install crossbuild-essential-arm64 ## Install Cmake Cmake 3.19rc3 is required to build TF Lite Delegate. -''' +``` 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 tar -zxvf cmake-3.19.0-rc3.tar.gz @@ -42,14 +42,14 @@ cd cmake-3.19.0-rc3 ./bootstrap --prefix=$HOME/armnn-devenv/cmake/install make all install cd.. -''' +``` ## Build and install Google's Protobuf library We support protobuf version 3.12.0 -* Get protobuf from here: https://github.com/protocolbuffers/protobuf: - (Requires Git if not previously installed: `sudo apt install git`) +* Get protobuf from here: https://github.com/protocolbuffers/protobuf: + (Requires Git if not previously installed: `sudo apt install git`) ```bash git clone -b v3.12.0 https://github.com/google/protobuf.git protobuf cd protobuf |