forked from oracle/graal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrepo-configuration.libsonnet
48 lines (41 loc) · 1.05 KB
/
repo-configuration.libsonnet
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// Holds repo specific definitions
{
graalvm_edition:: "ce",
compiler:: {
default_jvm_config:: "graal-core",
libgraal_jvm_config(pgo):: "graal-core-libgraal",
libgraal_env_file:: "libgraal",
vm_suite:: "vm",
compiler_suite:: "compiler",
# Returns a command line to collect a profile to build libgraal with PGO
#
# @param mx_prefix the mx command line prior to the specific command being run
collect_libgraal_profile(mx_prefix=["mx"]):: [],
# Returns mx arguments to have native image generation use
# the profile created by `collect_libgraal_profile`.
use_libgraal_profile:: [],
},
vm:: {
suite_dir:: "vm",
mx_env:: {
libgraal:: "libgraal"
},
libgraal_predicate_conf:: {
suites:: [
"sdk",
"truffle",
"compiler",
"substratevm",
"vm"
],
# Updating language imports should not run libgraal gates
extra_excludes:: [
"vm/mx.vm/suite.py"
]
}
},
native_image:: {
vm_suite:: "vm",
extra_deps:: {},
}
}