diff options
author | Nikhil Raj <nikhil.raj@arm.com> | 2020-08-21 11:31:30 +0100 |
---|---|---|
committer | TeresaARM <teresa.charlinreyes@arm.com> | 2020-08-21 15:19:22 +0000 |
commit | fc5d5c21040556498bd7330f560811e42fc1a11b (patch) | |
tree | a6a5205c03e77da6f0aaa62f67f253c0c5889db7 | |
parent | ea063dfe1533162581ee968ae44189edd3f78abc (diff) | |
download | armnn-fc5d5c21040556498bd7330f560811e42fc1a11b.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.md | 23 |
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: |