From fb03ead013d9e07dfdcfea8986f6735053f8403f Mon Sep 17 00:00:00 2001 From: Jegathesan Shanmugam Date: Fri, 27 Mar 2020 08:09:29 +0530 Subject: Github #367 Updated aarch64-linux-gnu tool chains export method. Signed-off-by: Jegathesan Shanmugam Change-Id: I442f387200c7e57e0fe4447eeb8df1fd7bec31d8 --- BuildGuideCrossCompilation.md | 12 ++++++------ 1 file 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/ \ -- cgit v1.2.1