File tree 2 files changed +2
-0
lines changed
main/kotlin/com/github/gradle/node/util
test/groovy/com/github/gradle/node/util
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
25
25
arch == " arm" || arch.startsWith(" aarch" ) -> property(" uname" )
26
26
.mapIf({ it == " armv8l" || it == " aarch64" }) { " arm64" }
27
27
arch == " ppc64le" -> " ppc64le"
28
+ arch == " s390x" -> " s390x"
28
29
arch.contains(" 64" ) -> " x64"
29
30
else -> " x86"
30
31
}
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ class PlatformHelperTest extends Specification {
32
32
' Linux' | ' x86' | ' linux' | ' x86' | false
33
33
' Linux' | ' x86_64' | ' linux' | ' x64' | false
34
34
' Linux' | ' ppc64le' | ' linux' | ' ppc64le' | false
35
+ ' Linux' | ' s390x' | ' linux' | ' s390x' | false
35
36
' SunOS' | ' x86' | ' sunos' | ' x86' | false
36
37
' SunOS' | ' x86_64' | ' sunos' | ' x64' | false
37
38
}
You can’t perform that action at this time.
0 commit comments