2021-10-17 09:34:42 +00:00
|
|
|
{ lib, callPackage, Foundation }:
|
2021-08-05 21:33:18 +00:00
|
|
|
|
|
|
|
let
|
2021-10-17 09:34:42 +00:00
|
|
|
mkGraal = opts: callPackage (import ./mkGraal.nix opts) {
|
2021-08-05 21:33:18 +00:00
|
|
|
inherit Foundation;
|
|
|
|
};
|
2021-10-17 09:34:42 +00:00
|
|
|
in
|
|
|
|
{
|
2021-08-05 21:33:18 +00:00
|
|
|
inherit mkGraal;
|
|
|
|
|
|
|
|
graalvm11-ce = mkGraal rec {
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "21.3.0";
|
2021-08-05 21:33:18 +00:00
|
|
|
javaVersion = "11";
|
2021-10-17 09:34:42 +00:00
|
|
|
platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" ];
|
2021-08-05 21:33:18 +00:00
|
|
|
};
|
2021-10-17 09:34:42 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
# 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 {
|
|
|
|
version = "21.3.0";
|
|
|
|
javaVersion = "17";
|
|
|
|
platforms = [ "x86_64-linux" "x86_64-darwin" ];
|
|
|
|
};
|
2021-08-05 21:33:18 +00:00
|
|
|
}
|