Skip to content

Commit 4a80c52

Browse files
authored
Merge pull request #147 from infosiftr/more-arm64v8
Add arm64v8 to 2.1 (but not 2.2)
2 parents d36854a + deeb9b3 commit 4a80c52

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

generate-stackbrew-library.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,19 @@ for version in "${versions[@]}"; do
6363
# $ wget -qO- 'https://dl.bintray.com/apache/cassandra/dists/311x/Release' | grep '^Architectures:'
6464
# Architectures: i386 amd64
6565
arches='amd64 i386'
66+
67+
# https://github.com/docker-library/cassandra/pull/116#issuecomment-326650640
68+
# Exception (java.lang.RuntimeException) encountered during startup: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
69+
# java.lang.RuntimeException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
70+
if [ "$version" != '2.2' ]; then
71+
# on arm64, 2.1 works fine
72+
arches+=' arm64v8'
73+
fi
6674
if [[ "$version" != 2.* ]]; then
67-
arches+=' arm64v8 ppc64le'
75+
# on ppc64le, 2.x both fail
76+
arches+=' ppc64le'
6877
fi
78+
6979
arches="$(echo "$arches" | xargs -n1 | sort)"
7080

7181
echo

0 commit comments

Comments
 (0)