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

  1. pavly-gerges commented on Apr 11, 2025

    @pavly-gerges
    Member

    Hello, I've no idea why I haven't got any notification for this. Thanks for reporting! Let me know if there are anything required for the next release. Would you like this to appear in a patch release or a minor release?

  2. stephengold commented on Apr 11, 2025

    @stephengold
    ContributorAuthor

    It seems worthy of a minor release.

  3. pavly-gerges commented on May 27, 2025

    @pavly-gerges
    Member

    This may require testing to satisfy your needs. Would you like to take it over?

  4. stephengold commented on May 27, 2025

    @stephengold
    ContributorAuthor

    No, not really.

  5. pinned this issue on May 31, 2025
  6. unpinned this issue on Oct 16, 2026
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

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions