aboutsummaryrefslogtreecommitdiff
path: root/BuildGuideCrossCompilation.md
diff options
context:
space:
mode:
authorJegathesan Shanmugam <nullbyte.in@gmail.com>2020-03-27 08:09:29 +0530
committerJim Flynn <jim.flynn@arm.com>2020-04-03 16:41:41 +0000
commitfb03ead013d9e07dfdcfea8986f6735053f8403f (patch)
treed7a577590761a24c2762bc2de4f17a3548a472f9 /BuildGuideCrossCompilation.md
parentc7e3972cd8a127136c47137e044489c7f6de4dbb (diff)
downloadarmnn-fb03ead013d9e07dfdcfea8986f6735053f8403f.tar.gz
Github #367
Updated aarch64-linux-gnu tool chains export method. Signed-off-by: Jegathesan Shanmugam <nullbyte.in@gmail.com> Change-Id: I442f387200c7e57e0fe4447eeb8df1fd7bec31d8
Diffstat (limited to 'BuildGuideCrossCompilation.md')
-rw-r--r--BuildGuideCrossCompilation.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/BuildGuideCrossCompilation.md b/BuildGuideCrossCompilation.md
index 94540ddce9..6b03f1340c 100644
--- a/BuildGuideCrossCompilation.md
+++ b/BuildGuideCrossCompilation.md
@@ -42,8 +42,8 @@ The instructions show how to build the ArmNN core library and the Boost, Protobu
```
mkdir arm64_build
cd arm64_build
- CC=aarch64-linux-gnu-gcc \
- CXX=aarch64-linux-gnu-g++ \
+ export CC=aarch64-linux-gnu-gcc \
+ export CXX=aarch64-linux-gnu-g++ \
../configure --host=aarch64-linux \
--prefix=$HOME/armnn-devenv/google/arm64_pb_install \
--with-protoc=$HOME/armnn-devenv/google/x86_64_pb_install/bin/protoc
@@ -122,8 +122,8 @@ The instructions show how to build the ArmNN core library and the Boost, Protobu
* 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
- CXX=aarch64-linux-gnu-g++ \
- CC=aarch64-linux-gnu-gcc \
+ export CXX=aarch64-linux-gnu-g++ \
+ export CC=aarch64-linux-gnu-gcc \
cmake .. \
-DARMCOMPUTE_ROOT=$HOME/armnn-devenv/ComputeLibrary \
-DARMCOMPUTE_BUILD_DIR=$HOME/armnn-devenv/ComputeLibrary/build/ \
@@ -156,8 +156,8 @@ The instructions show how to build the ArmNN core library and the Boost, Protobu
* Use CMake to configure your build environment, update the following script and run it from the armnn/src/dynamic/sample/build directory to set up the armNN build:
```bash
#!/bin/bash
- CXX=aarch64-linux-gnu-g++ \
- CC=aarch64-linux-gnu-gcc \
+ export CXX=aarch64-linux-gnu-g++ \
+ export CC=aarch64-linux-gnu-gcc \
cmake .. \
-DCMAKE_CXX_FLAGS=--std=c++14 \
-DBOOST_ROOT=$HOME/armnn-devenv/boost_arm64_install/ \