Skip to content

Commit

Permalink
Support for E2K (Elbrus 2000) architecture (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbashir authored Jun 5, 2021
1 parent 6d81345 commit 6bd9cfa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
* `s390_32` - if the value is `s390`
* `s390_64` if the value is `s390x`
* `riscv` if the value is `riscv`
* `e2k` if the value is `e2k`

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 @@ -248,6 +248,9 @@ private static String normalizeArch(String value) {
if ("riscv".equals(value)) {
return "riscv";
}
if ("e2k".equals(value)) {
return "e2k";
}
return UNKNOWN;
}

Expand Down

0 comments on commit 6bd9cfa

Please sign in to comment.