Skip to content

[Enhancements] recognize LoongArch architectures #43

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());

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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