From 38a92584d5ac242e47a2fe1b6fee1cb136d51279 Mon Sep 17 00:00:00 2001 From: Ruomei Yan Date: Wed, 22 May 2019 11:24:39 +0100 Subject: IVGCVSW-2758 Instructions for cross-compiling ArmNN for arm64 should install cross-compiling toolchain earlier Change-Id: I4c64eea6fa17cd4b1c817d4bf8337ebce75851dd Signed-off-by: Ruomei Yan --- BuildGuideCrossCompilation.md | 13 +++++++------ 1 file 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. +#### Cross-compiling ToolChain +* Install the standard cross-compilation libraries for arm64: + ``` + sudo apt install crossbuild-essential-arm64 + ``` + #### Build and install Google's Protobuf library * 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 -#### Cross-compiling ToolChain -* Install the standard cross-compilation libraries for arm64: - ``` - sudo apt install crossbuild-essential-arm64 - ``` #### Build Boost library for arm64 * 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 -- cgit v1.2.1