summary refs log tree commit diff
path: root/pkgs/development/compilers/graalvm/community-edition/llvm-installable-svm.nix
blob: 9fc8fb3db95edcdd972509c96f9a27bc3630500f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ lib
, stdenv
, graalvmCEPackages
, javaVersion
, src
, version
}:

graalvmCEPackages.buildGraalvmProduct rec {
  inherit src javaVersion version;
  product = "llvm-installable-svm";

  # TODO: improve this test
  graalvmPhases.installCheckPhase = ''
    echo "Testing llvm"
    $out/bin/lli --help
  '';
}