aboutsummaryrefslogtreecommitdiff
path: root/BuildGuideCrossCompilation.md
diff options
context:
space:
mode:
authorNikhil Raj <nikhil.raj@arm.com>2020-05-19 15:55:25 +0100
committerNikhil Raj Arm <nikhil.raj@arm.com>2020-05-20 13:48:02 +0000
commitb357e328bcd0ec5a820bcee0e049a5c7f3c1ee64 (patch)
tree71b2d42e51ad673d97da06ee6afde3419aaab96a /BuildGuideCrossCompilation.md
parent2323af4542db474d42e643051e38bbc65f5844e7 (diff)
downloadarmnn-b357e328bcd0ec5a820bcee0e049a5c7f3c1ee64.tar.gz
Few minor updates to BuildGuideAndroidNDK.md file
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I380862816cbc7ec509ff01791e77297b859f21ac
Diffstat (limited to 'BuildGuideCrossCompilation.md')
-rw-r--r--BuildGuideCrossCompilation.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/BuildGuideCrossCompilation.md b/BuildGuideCrossCompilation.md
index 9baf20cb71..156488abca 100644
--- a/BuildGuideCrossCompilation.md
+++ b/BuildGuideCrossCompilation.md
@@ -109,9 +109,17 @@ The instructions show how to build the ArmNN core library and the Boost, Protobu
```bash
git clone https://github.com/ARM-software/ComputeLibrary.git
cd ComputeLibrary/
+ git checkout <branch_name>
+ git pull
scons arch=arm64-v8a neon=1 opencl=1 embed_kernels=1 extra_cxx_flags="-fPIC" -j8 internal_only=0
```
+ For example, if you want to checkout release branch of 20.02:
+ ```bash
+ git checkout branches/arm_compute_20_02
+ git pull
+ ```
+
#### <a name="buildtf">Build Tensorflow</a>
* Building Tensorflow version 1.15:
'''bash
@@ -171,10 +179,18 @@ The instructions show how to build the ArmNN core library and the Boost, Protobu
```bash
git clone https://github.com/ARM-software/armnn.git
cd armnn
+ git checkout <branch_name>
+ git pull
mkdir build
cd build
```
+ For example, if you want to checkout release branch of 20.02:
+ ```bash
+ git checkout branches/armnn_20_02
+ git pull
+ ```
+
* Use CMake to configure your build environment, update the following script and run it from the armnn/build directory to set up the armNN build:
```bash
#!/bin/bash