Hello,
I am trying to use CLAPACK inside teensy 4.1, and need an advice how to compile it.
I created a new directory src in ~/arduino-1.8.19/hardware/teensy/avr/cores/teensy4
and saved all 1700 *.c files (690k lines of code) of clapack here with some additional modifications removing printf and exit calls from this sources.
Actually I was succeed to compile it with arduino environment, however, the speed of first compilation is not nice - it takes about 5 minutes to compile, but at least it works.
I also tried to compile with Makefile from ~/arduino-1.8.19/hardware/teensy/avr/cores/teensy4 but, after uploading, my teensy 4.1 board enter into alarm stage (7 short flashes of red LED) and I discontinued to try this method.
If I build ones my project and have arduino environment open, I can recompile it fast enough, but if I close it and open again, I need to wait again 5 minutes to compile because *.o are stored at /tmp/arduino-build-* and they are removed when I am closing arduino environment.
Please, suggest me is there any possibility to save precompilled *.o files between open/close arduino environment?
Thank you!
I am trying to use CLAPACK inside teensy 4.1, and need an advice how to compile it.
I created a new directory src in ~/arduino-1.8.19/hardware/teensy/avr/cores/teensy4
and saved all 1700 *.c files (690k lines of code) of clapack here with some additional modifications removing printf and exit calls from this sources.
Actually I was succeed to compile it with arduino environment, however, the speed of first compilation is not nice - it takes about 5 minutes to compile, but at least it works.
I also tried to compile with Makefile from ~/arduino-1.8.19/hardware/teensy/avr/cores/teensy4 but, after uploading, my teensy 4.1 board enter into alarm stage (7 short flashes of red LED) and I discontinued to try this method.
If I build ones my project and have arduino environment open, I can recompile it fast enough, but if I close it and open again, I need to wait again 5 minutes to compile because *.o are stored at /tmp/arduino-build-* and they are removed when I am closing arduino environment.
Please, suggest me is there any possibility to save precompilled *.o files between open/close arduino environment?
Thank you!