aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikhil Raj <nikhil.raj@arm.com>2020-08-21 11:31:30 +0100
committerTeresa Charlin <teresa.charlinreyes@arm.com>2020-08-24 08:14:47 +0100
commitfac99e2ac508c2bf084662f64b607f3941998d4b (patch)
tree73011abff4dedf872cb4aa1d1382d337a413cdd0
parent9214d81ad52a80e69618bea09870f1afff446d60 (diff)
downloadarmnn-fac99e2ac508c2bf084662f64b607f3941998d4b.tar.gz
Minor html changes to BuildGuideCrossCompilation.md to make it look better
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I4213bf811d39898506c6d976089d90379a617056
-rw-r--r--BuildGuideCrossCompilation.md23
1 files changed, 12 insertions, 11 deletions
diff --git a/BuildGuideCrossCompilation.md b/BuildGuideCrossCompilation.md
index 6feb28aa66..3d1deebe7a 100644
--- a/BuildGuideCrossCompilation.md
+++ b/BuildGuideCrossCompilation.md
@@ -122,16 +122,16 @@ The instructions show how to build the ArmNN core library and the Boost, Protobu
#### <a name="buildtf">Build Tensorflow</a>
* Building Tensorflow version 1.15:
- '''bash
+ ```bash
git clone https://github.com/tensorflow/tensorflow.git
cd tensorflow/
git checkout 590d6eef7e91a6a7392c8ffffb7b58f2e0c8bc6b
../armnn/scripts/generate_tensorflow_protobuf.sh ../tensorflow-protobuf ../google/x86_64_pb_install
- '''
+ ```
-#### <"a name=buildflatbuffer">Build Flatbuffer</a>
+#### <a name="buildflatbuffer">Build Flatbuffer</a>
* Building Flatbuffer version 1.12.0
- '''bash
+ ```bash
wget -O flatbuffers-1.12.0.tar.gz https://github.com/google/flatbuffers/archive/v1.12.0.tar.gz
tar xf flatbuffers-1.12.0.tar.gz
cd flatbuffers-1.12.0
@@ -142,9 +142,10 @@ The instructions show how to build the ArmNN core library and the Boost, Protobu
-DCMAKE_INSTALL_PREFIX:PATH=$<DIRECTORY_PATH> \
-DFLATBUFFERS_BUILD_TESTS=0
make all install
- '''
+ ```
+
* Build arm64 version of flatbuffer
- '''bash
+ ```bash
mkdir build-arm64
cd build-arm64
# Add -fPIC to allow us to use the libraries in shared objects.
@@ -154,26 +155,26 @@ The instructions show how to build the ArmNN core library and the Boost, Protobu
-DCMAKE_INSTALL_PREFIX:PATH=$<DIRECTORY_PATH> \
-DFLATBUFFERS_BUILD_TESTS=0
make all install
- '''
+ ```
#### <a name="buildingONNX">Build Onnx</a>
* Building Onnx
- '''bash
+ ```bash
git clone https://github.com/onnx/onnx.git
cd onnx
git fetch https://github.com/onnx/onnx.git f612532843bd8e24efeab2815e45b436479cc9ab && git checkout FETCH_HEAD
export LD_LIBRARY_PATH=$<DIRECTORY_PATH>/protobuf-host/lib:$LD_LIBRARY_PATH
../google/x86_64_pb_install/bin/protoc onnx/onnx.proto --proto_path=. --proto_path=../google/x86_64_pb_install/include --cpp_out ../onnx
- '''
+ ```
#### <a name="buildingtflite">Build TfLite</a>
* Building TfLite
- '''bash
+ ```bash
mkdir tflite
cd tflite
cp ../tensorflow/tensorflow/lite/schema/schema.fbs .
../flatbuffers-1.12.0/build/flatc -c --gen-object-api --reflect-types --reflect-names schema.fbs
- '''
+ ```
#### <a name="buildANN">Build ArmNN</a>
* Compile ArmNN for arm64: