Skip to content

[Enhancements] recognize LoongArch architectures #43

@stephengold

Description

@stephengold

Please add to the NativeVariant.Cpu class:

public static boolean isLoongArch() {
        return OS_ARCH.getProperty().contains("loong");
}

and to the PlatformPredicate class:

public static final PlatformPredicate LINUX_LOONGARCH_64 = new PlatformPredicate(NativeVariant.Os.isDesktop() &&
        NativeVariant.Os.isLinux() && NativeVariant.Cpu.isLoongArch() && NativeVariant.Cpu.is64());

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions