Skip to content

AARCH64 support for ninja #8

@andriish

Description

@andriish

Hi all,

this issue is inspired by gudrunhe/gosam#24.

Basically, I can repeat everything from that issue here.

The "problem" with that architecture is that the quadruple precision is implemented on AARCH64 natively.

That means that the precision of "long double" type is 128 bit.
That is a difference with x86_64 architecture where one needs special libraries ( e.g libquadmath ) to reach 128bit precision.
Obviously, this leads to a curious fact that e.g. libquadmath and corresponding headers are not needed on aarch64 architecture and they are absent from the GCC installation on aarch64.

That means any code that relies on quadmath.h headers will fail to compile on aarch64.

We have found it out in ATLAS during the compilation of POWHEG packages that were using some GoSaM+ninja generated code.

As an example of fixes we applied: https://gitlab.cern.ch/compilebox/compilebox/-/tree/master/COMPILEBOX/Custom/User-Processes-V2/ggHH/GoSamlib/quadninja

Best regards,

Andrii

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions