Skip to content

Commit 6deb18c

Browse files
drewrjasontedor
authored andcommitted
Preliminary support for ARM
This commit adds preliminary support for 64-bit ARM architectures. Relates #25318
1 parent 1b60247 commit 6deb18c

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed

buildSrc/version.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ snakeyaml = 1.15
1010
# When updating log4j, please update also docs/java-api/index.asciidoc
1111
log4j = 2.8.2
1212
slf4j = 1.6.2
13-
jna = 4.4.0
13+
jna = 4.4.0-1
1414

1515
# test dependencies
1616
randomizedrunner = 2.5.0

client/rest-high-level/src/test/java/org/elasticsearch/client/SearchIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ public void testSearchWithMatrixStats() throws IOException {
269269
assertEquals(5, matrixStats.getFieldCount("num2"));
270270
assertEquals(29d, matrixStats.getMean("num2"), 0d);
271271
assertEquals(330d, matrixStats.getVariance("num2"), 0d);
272-
assertEquals(-0.13568039346585542, matrixStats.getSkewness("num2"), 0d);
272+
assertEquals(-0.13568039346585542, matrixStats.getSkewness("num2"), 1.0e-16);
273273
assertEquals(1.3517561983471074, matrixStats.getKurtosis("num2"), 0d);
274274
assertEquals(-767.5, matrixStats.getCovariance("num", "num2"), 0d);
275275
assertEquals(-0.9876336291667923, matrixStats.getCorrelation("num", "num2"), 0d);

core/licenses/jna-4.4.0-1.jar.sha1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
c9dfcec6f07ee4b1d7a6c09a7eaa9dd4fb6d2c79

core/licenses/jna-4.4.0.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.

core/src/main/java/org/elasticsearch/bootstrap/SystemCallFilter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ static class Arch {
242242
static {
243243
Map<String,Arch> m = new HashMap<>();
244244
m.put("amd64", new Arch(0xC000003E, 0x3FFFFFFF, 57, 58, 59, 322, 317));
245+
m.put("aarch64", new Arch(0xC00000B7, 0xFFFFFFFF, 1079, 1071, 221, 281, 277));
245246
ARCHITECTURES = Collections.unmodifiableMap(m);
246247
}
247248

0 commit comments

Comments
 (0)