File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
main/kotlin/com/github/gradle/node/util
test/groovy/com/github/gradle/node/util Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ open class PlatformHelper constructor(private val props: Properties = System.get
2525 arch == " arm" || arch.startsWith(" aarch" ) -> property(" uname" )
2626 .mapIf({ it == " armv8l" || it == " aarch64" }) { " arm64" }
2727 arch == " ppc64le" -> " ppc64le"
28+ arch == " s390x" -> " s390x"
2829 arch.contains(" 64" ) -> " x64"
2930 else -> " x86"
3031 }
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ class PlatformHelperTest extends Specification {
3232 ' Linux' | ' x86' | ' linux' | ' x86' | false
3333 ' Linux' | ' x86_64' | ' linux' | ' x64' | false
3434 ' Linux' | ' ppc64le' | ' linux' | ' ppc64le' | false
35+ ' Linux' | ' s390x' | ' linux' | ' s390x' | false
3536 ' SunOS' | ' x86' | ' sunos' | ' x86' | false
3637 ' SunOS' | ' x86_64' | ' sunos' | ' x64' | false
3738 }
You can’t perform that action at this time.
0 commit comments