aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuomei Yan <ruomei.yan@arm.com>2019-05-22 11:24:39 +0100
committerMatteo Martincigh <matteo.martincigh@arm.com>2019-05-22 12:58:56 +0000
commit38a92584d5ac242e47a2fe1b6fee1cb136d51279 (patch)
treee642d9818d5e4654e0f6222ab4bf3bc1a0b4f3ae
parentd00883b242979ff845bd5a74c6b5dcf40a22670f (diff)
downloadarmnn-38a92584d5ac242e47a2fe1b6fee1cb136d51279.tar.gz
IVGCVSW-2758 Instructions for cross-compiling ArmNN for arm64 should install cross-compiling toolchain earlier
Change-Id: I4c64eea6fa17cd4b1c817d4bf8337ebce75851dd Signed-off-by: Ruomei Yan <ruomei.yan@arm.com>
-rw-r--r--BuildGuideCrossCompilation.md13
1 files changed, 7 insertions, 6 deletions
diff --git a/BuildGuideCrossCompilation.md b/BuildGuideCrossCompilation.md
index cc372c6497..396c1fe766 100644
--- a/BuildGuideCrossCompilation.md
+++ b/BuildGuideCrossCompilation.md
@@ -1,9 +1,9 @@
# How to Cross-Compile ArmNN on x86_64 for arm64
* [Introduction](#introduction)
+* [Cross-compiling ToolChain](#installCCT)
* [Build and install Google's Protobuf library](#buildProtobuf)
* [Build Caffe for x86_64](#buildCaffe)
-* [Cross-compiling ToolChain](#installCCT)
* [Build Boost library for arm64](#installBaarch)
* [Build Compute Library](#buildCL)
* [Build ArmNN](#buildANN)
@@ -15,6 +15,12 @@
These are the step by step instructions on Cross-Compiling ArmNN under an x86_64 system to target an Arm64 system. This build flow has been tested with Ubuntu 16.04.
The instructions show how to build the ArmNN core library and the Boost, Protobuf, Caffe and Compute Libraries necessary for compilation.
+#### <a name="installCCT">Cross-compiling ToolChain</a>
+* Install the standard cross-compilation libraries for arm64:
+ ```
+ sudo apt install crossbuild-essential-arm64
+ ```
+
#### <a name="buildProtobuf">Build and install Google's Protobuf library</a>
* Get protobuf-all-3.5.1.tar.gz from here: https://github.com/protocolbuffers/protobuf/releases/tag/v3.5.1
@@ -84,11 +90,6 @@ The instructions show how to build the ArmNN core library and the Boost, Protobu
These should all run without errors
* caffe.pb.h and caffe.pb.cc will be needed when building ArmNN's Caffe Parser
-#### <a name="installCCT">Cross-compiling ToolChain</a>
-* Install the standard cross-compilation libraries for arm64:
- ```
- sudo apt install crossbuild-essential-arm64
- ```
#### <a name="installBaarch">Build Boost library for arm64</a>
* Build Boost library for arm64
Download Boost version 1.64 from http://www.boost.org/doc/libs/1_64_0/more/getting_started/unix-variants.html