Skip to content

Commit bd96fa8

Browse files
ansalondgilles-duboscq
authored andcommitted
[GR-45794] TruffleRuby EE standalone includes Sulong Enterprise.
PullRequest: truffleruby/3856
2 parents 6ccde34 + 52d3c18 commit bd96fa8

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed

mx.truffleruby/mx_truffleruby.py

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,12 @@ def verify_ci(args):
227227
stability="experimental",
228228
))
229229

230+
standalone_dependencies_common = {
231+
'LLVM Runtime Core': ('lib/sulong', []),
232+
'LLVM Runtime Native': ('lib/sulong', []),
233+
'LLVM.org toolchain': ('lib/llvm-toolchain', []),
234+
}
235+
230236
mx_sdk_vm.register_graalvm_component(mx_sdk_vm.GraalVmLanguage(
231237
suite=_suite,
232238
name='TruffleRuby',
@@ -235,13 +241,16 @@ def verify_ci(args):
235241
standalone_dir_name='truffleruby-<version>-<graalvm_os>-<arch>',
236242
license_files=[],
237243
third_party_license_files=[],
238-
dependencies=['rbyl', 'Truffle', 'Truffle NFI', 'LLVM Runtime Native', 'LLVM.org toolchain', 'TRegex'],
239-
standalone_dependencies={
240-
'LLVM Runtime Core': ('lib/sulong', []),
241-
'LLVM Runtime Native': ('lib/sulong', []),
242-
'LLVM.org toolchain': ('lib/llvm-toolchain', []),
243-
'rbyl': ('', []), # Use short name for license to select by priority
244-
},
244+
dependencies=['rbyl', 'Truffle', 'Truffle NFI', 'LLVM Runtime Native', 'LLVM.org toolchain', 'TRegex'], # Use short name for license to select by priority
245+
standalone_dependencies={**standalone_dependencies_common, **{
246+
'TruffleRuby license files': ('', []),
247+
}},
248+
standalone_dependencies_enterprise={**standalone_dependencies_common, **{
249+
'LLVM Runtime Enterprise': ('lib/sulong', []),
250+
'LLVM Runtime Native Enterprise': ('lib/sulong', []),
251+
'TruffleRuby license files EE': ('', []),
252+
'GraalVM enterprise license files': ('', ['LICENSE.txt', 'GRAALVM-README.md']),
253+
}},
245254
truffle_jars=[
246255
'truffleruby:TRUFFLERUBY',
247256
'truffleruby:TRUFFLERUBY-SHARED',

mx.truffleruby/suite.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{
88
"name": "regex",
99
"subdir": True,
10-
"version": "fa8a4eb585805b7ee82bcb5c82e7dbc0dd081136",
10+
"version": "bf9b50cc88c919c0858c782a03d1badd6382a8d4",
1111
"urls": [
1212
{"url": "https://github.com/oracle/graal.git", "kind": "git"},
1313
{"url": "https://curio.ssw.jku.at/nexus/content/repositories/snapshots", "kind": "binary"},
@@ -16,7 +16,7 @@
1616
{
1717
"name": "sulong",
1818
"subdir": True,
19-
"version": "fa8a4eb585805b7ee82bcb5c82e7dbc0dd081136",
19+
"version": "bf9b50cc88c919c0858c782a03d1badd6382a8d4",
2020
"urls": [
2121
{"url": "https://github.com/oracle/graal.git", "kind": "git"},
2222
{"url": "https://curio.ssw.jku.at/nexus/content/repositories/snapshots", "kind": "binary"},

0 commit comments

Comments
 (0)