3
0
Fork 0
forked from mirrors/nixpkgs

graalvm17-ce: re-enable it on aarch64-linux

However without support for Native Image, since it is failing to build.
This commit is contained in:
Thiago Kenji Okada 2022-04-15 20:49:29 +01:00
parent 4f8562f682
commit 158b0e037f
2 changed files with 15 additions and 5 deletions

View file

@ -52,11 +52,6 @@ in
platforms = builtins.attrNames config;
};
# TODO: fix aarch64-linux, failing during Native Image compilation
# "Caused by: java.io.IOException: Cannot run program
# "/nix/store/1q1mif7h3lgxdaxg6j39hli5azikrfla-gcc-wrapper-9.3.0/bin/gcc" (in
# directory"/tmp/SVM-4194439592488143713"): error=0, Failed to exec spawn
# helper: pid: 19865, exit value: 1"
graalvm17-ce = mkGraal rec {
config = {
x86_64-darwin = {
@ -72,6 +67,15 @@ in
arch = "darwin-aarch64";
version = graalvm17-ce-dev-version;
};
aarch64-linux = {
# TODO: error with native-image-installable-svm in aarch64-linux:
# "Caused by: java.io.IOException: Cannot run program
# "/nix/store/00000000000000000000000000000000-gcc-wrapper-9.3.0/bin/gcc" (in
# directory"/tmp/SVM-0000000000000000000"): error=0, Failed to exec spawn
# helper: pid: 19865, exit value: 1"
products = [ "graalvm-ce" ];
arch = "linux-aarch64";
};
};
defaultVersion = graalvm17-ce-release-version;
javaVersion = "17";

View file

@ -19,6 +19,12 @@
"url": "https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.0.0.2/native-image-installable-svm-java17-darwin-amd64-22.0.0.2.jar"
}
},
"linux-aarch64": {
"graalvm-ce|java17|22.0.0.2": {
"sha256": "c7d78387d2a144944f26773697c1b61d3478a081a1c5e7fc20f47f1f5f3c82c7",
"url": "https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.0.0.2/graalvm-ce-java17-linux-aarch64-22.0.0.2.tar.gz"
}
},
"linux-amd64": {
"graalvm-ce|java17|22.0.0.2": {
"sha256": "4f743e0ed3d974b7d619ca2ed6014554e8c12e5ebbb38b9bc9e820b182169bd4",