Electrostat-Lab / Electrostat-Lab/jSnapLoader

[Enhancements] recognize LoongArch architectures

Open
#43 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
9
Forks
3
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.