Just did a fresh pull and tried to build BANGLEJS2 and it failed with:
arm-none-eabi-gcc: error: unrecognized command line option '-fmacro-prefix-map=libs/tensorflow/='
make: *** [Makefile:842: obj/libs/tensorflow/tensorflow/lite/micro/simple_memory_allocator.cc.o] Error 1
I commented out TENSORFLOW and it builds fine.
old gcc probably, use provision script to get working compiler
Just did a clean clone, and a provision.sh BANGLEJS2, followed by make clean && BOARD=BANGLEJS2 RELEASE=1 make
Still get the error
make clean && BOARD=BANGLEJS2 RELEASE=1 make
did you run provision like . scripts/... with dot and space to load environment changes into current shell?
You can see it does work in the online build at https://github.com/espruino/Espruino/actions so something is presumably up with your system.
As I recall, provision won't install a compiler if you already have one on your path, so you're probably still using an old compiler ad @fanoush suggested
Yes, this seems to have caused me headaches before... I will remove my compiler and let the provision script do its thing.. thanks you
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem