commit | 94ca3558d648c69ee1b5d7771247763a9fdd9514 | [log] [tgz] |
---|---|---|
author | Per Åstrand <per.astrand@arm.com> | Tue Jun 30 10:33:58 2020 +0200 |
committer | Per Åstrand <per.astrand@arm.com> | Thu Jul 02 13:57:39 2020 +0200 |
tree | 0de9596e346ff446a214d2798b49cc9972df58ff | |
parent | 3f6e07ac33c7bd320527e556d8a9fdbd343c1a91 [diff] |
MLBEDSW-2059 Add option for accelerator Add cmake option to select which accelerator backend is to be built for tensorflow. Change-Id: Ice06317e1f8b8601f3f077da9d2ef2625b6b2909
The core software is built with CMake. It is recommended to build out of tree like illustrated below.
$ mkdir build $ cd build $ cmake .. -DCMAKE_TOOLCHAIN_FILE=<toolchain> -DCMAKE_SYSTEM_PROCESSOR=cortex-m<nr><features> $ make
Available build options can be listed with cmake -LH ..
.
Supported CPU targets are any of the Cortex-M processors with any of the supported features, for example cortex-m33+nodsp+nofp. A toolchain file is required to cross compile the software.