The reminder

I just want to remind myself not to forget about cross compilation feature of the FreeBSD build system. When it may be tempting (from my personal habits of the past) to do native build on the same architecture as the target one, it may save time using the most performant hardware I have.

Let’s form some visualization of the numbers, which helps to compare it at a glance:

01 cross build numbers

Summary

It’s a pleasure to build everything (from perspective of my current projects) using the same laptop. And from the speed point of view, it’s about 17 times faster to build for AMD64 using Apple Silicon than Intel based machine I have. In addition, performance of QEMU emulation @ Apple Silicon is good enough for my current tasks when I need to run and test non-AArch64 OS instance built via cross-compilation.

 
 


Copyright © Igor Ostapenko
(handmade content)

Submit a like
 
Post a comment