Building Arm NN

To build Arm NN:

  1. Enter the following commands:

    cd $BASEDIR/armnn
    mkdir build
    cd build
  2. Place the library files you require in the build directory. To place the library files, enter:

    cmake .. -DCMAKE_LINKER=/usr/bin/arm-linux-gnueabihf-ld \
    -DCMAKE_C_COMPILER=/usr/bin/arm-linux-gnueabihf-gcc \
    -DCMAKE_CXX_COMPILER=/usr/bin/arm-linux-gnueabihf-g++ \
    -DCMAKE_CXX_FLAGS=-mfpu=neon \
    -DARMCOMPUTE_BUILD_DIR=$BASEDIR/ComputeLibrary/build \
    -DTF_GENERATED_SOURCES=$BASEDIR/tensorflow-protobuf \
    -DPROTOBUF_ROOT=$BASEDIR/protobuf-arm \

    Arm estimates that your virtual machine will take approximately 12 minutes to execute these commands.

Previous Next