Speaker
Description
Cross compilation allows the build of binaries of a software package for different platforms without the need to use different hardware and operating system for each platform beging supported. The Julia binary registry, uses it to ease the support of a number of platforms (ARM, x86, PowerPC combined with MacOS, Linux, and Windows). Support for the Julia binary registry has motivated this work on a cross-compilation method for ROOT. The build process of ROOT, involves building the rootcling executable used to generate the I/O class dictionary source code. Extending the ROOT build system to support cross compilation presents two challenges. The first is the need to build binaries for two different platforms, the host where the build is happening and the target. The second is to extend rootcling to allow the generation on one platform of code that must be run on another platform, in other words, cross-code-generation. So far, cross-compilation for a different C library (glic/musl) and/or different CPU (aarch64/x86_64) has been achieved. The compilation is done in an Alpine Linux container. We will present how this cross compilation is performed.