Skip to content

Commit 104d8ba

Browse files
committed
[GR-50885] Add a command that prints the type of GraalVM artifacts.
PullRequest: graal/16385
2 parents 512022d + e1fded1 commit 104d8ba

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

sdk/mx.sdk/mx_sdk_vm_impl.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4106,6 +4106,12 @@ def print_standalone_home(args):
41064106
print(standalone_home(args.comp_dir_name, is_jvm=(args.type == 'jvm')))
41074107

41084108

4109+
def print_graalvm_type(args):
4110+
"""print the GraalVM artifact type"""
4111+
# Required by the CI jsonnet files that trigger structure checks
4112+
print('release' if _suite.is_release() else 'snapshot')
4113+
4114+
41094115
def _infer_env(graalvm_dist):
41104116
dynamicImports = set()
41114117
components = []
@@ -4917,6 +4923,7 @@ def mx_post_parse_cmd_line(args):
49174923
'graalvm-dist-name': [print_graalvm_dist_name, ''],
49184924
'graalvm-version': [print_graalvm_version, ''],
49194925
'graalvm-home': [print_graalvm_home, ''],
4926+
'graalvm-type': [print_graalvm_type, ''],
49204927
'graalvm-enter': [graalvm_enter, ''],
49214928
'graalvm-show': [graalvm_show, ''],
49224929
'graalvm-vm-name': [print_graalvm_vm_name, ''],

wasm/mx.wasm/mx_wasm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ def clean(self, forBuild=False):
526526
},
527527
standalone_dependencies_enterprise={
528528
'gwal': ('', []), # GraalWasm license files
529-
'GraalVM enterprise license files': ('LICENSE.txt', ['GRAALVM-README.md']),
529+
'GraalVM enterprise license files': ('', ['LICENSE.txt', 'GRAALVM-README.md']),
530530
},
531531
license_files=[],
532532
third_party_license_files=[],

0 commit comments

Comments
 (0)