3 `luci-micro` is MCU specialized build of luci-interpreter with several benchmark applications.
7 Luci-micro contains cmake infrastructure to build:
8 - stand-alone interpreter library
9 - benchmark applications using luci interpreter on arm MCUs
11 ## How to build stand alone library
13 Stand-alone library is simply built by `luci_interpreter_micro_arm` target.
14 Result library will be placed in `<ONE root>/build/compiler/luci-micro/standalone_arm/luci-interpreter/src/libluci_interpreter.a`.
18 - Everything you need for ONE project: see [how-to-build-compiler.md](../../docs/howto/how-to-build-compiler.md)
19 - arm-none-eabi-gcc and arm-none-eabi-g++ compilers
21 To install needed arm compilers on ubuntu:
23 $ sudo apt-get install gcc-arm-none-eabi
33 $ make -j$(nproc) luci_interpreter_micro_arm
41 $ ./nncc build -j$(nproc) luci_interpreter_micro_arm
46 Interpreter uses TensorFlow headers that produces warnings.
48 `Linux` x86 build uses "-isystem" flag to suppress warnings from external sources,
49 but some old arm compilers have issues with it:
50 [bug](https://bugs.launchpad.net/gcc-arm-embedded/+bug/1698539)
52 `-isystem` hack is disabled for MCU build, because of this MCU build is broken if `-Werror` flag is set.