Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for sw64 architecture #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
* `riscv64` if the value is `riscv64`
* `e2k` if the value is `e2k`
* `loongarch_64` if the value is `loongarch64`
* `sw_64` if the value is `sw64`

Note: The bitness part of this property relies on the bitness of the JVM binary, e.g. You'll get the property that ends with `_32` if you run a 32-bit JVM on a 64-bit OS.

Expand Down
3 changes: 3 additions & 0 deletions src/main/java/kr/motd/maven/os/Detector.java
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,9 @@ private static String normalizeArch(String value) {
if ("loongarch64".equals(value)) {
return "loongarch_64";
}
if ("sw64".equals(value)) {
return "sw_64";
}
return UNKNOWN;
}

Expand Down