Skip to content

Commit

Permalink
[GR-45794] TruffleRuby EE standalone includes Sulong Enterprise.
Browse files Browse the repository at this point in the history
PullRequest: truffleruby/3856
  • Loading branch information
ansalond authored and gilles-duboscq committed Jun 4, 2023
2 parents 6ccde34 + 52d3c18 commit bd96fa8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
23 changes: 16 additions & 7 deletions mx.truffleruby/mx_truffleruby.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,12 @@ def verify_ci(args):
stability="experimental",
))

standalone_dependencies_common = {
'LLVM Runtime Core': ('lib/sulong', []),
'LLVM Runtime Native': ('lib/sulong', []),
'LLVM.org toolchain': ('lib/llvm-toolchain', []),
}

mx_sdk_vm.register_graalvm_component(mx_sdk_vm.GraalVmLanguage(
suite=_suite,
name='TruffleRuby',
Expand All @@ -235,13 +241,16 @@ def verify_ci(args):
standalone_dir_name='truffleruby-<version>-<graalvm_os>-<arch>',
license_files=[],
third_party_license_files=[],
dependencies=['rbyl', 'Truffle', 'Truffle NFI', 'LLVM Runtime Native', 'LLVM.org toolchain', 'TRegex'],
standalone_dependencies={
'LLVM Runtime Core': ('lib/sulong', []),
'LLVM Runtime Native': ('lib/sulong', []),
'LLVM.org toolchain': ('lib/llvm-toolchain', []),
'rbyl': ('', []), # Use short name for license to select by priority
},
dependencies=['rbyl', 'Truffle', 'Truffle NFI', 'LLVM Runtime Native', 'LLVM.org toolchain', 'TRegex'], # Use short name for license to select by priority
standalone_dependencies={**standalone_dependencies_common, **{
'TruffleRuby license files': ('', []),
}},
standalone_dependencies_enterprise={**standalone_dependencies_common, **{
'LLVM Runtime Enterprise': ('lib/sulong', []),
'LLVM Runtime Native Enterprise': ('lib/sulong', []),
'TruffleRuby license files EE': ('', []),
'GraalVM enterprise license files': ('', ['LICENSE.txt', 'GRAALVM-README.md']),
}},
truffle_jars=[
'truffleruby:TRUFFLERUBY',
'truffleruby:TRUFFLERUBY-SHARED',
Expand Down
4 changes: 2 additions & 2 deletions mx.truffleruby/suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"name": "regex",
"subdir": True,
"version": "fa8a4eb585805b7ee82bcb5c82e7dbc0dd081136",
"version": "bf9b50cc88c919c0858c782a03d1badd6382a8d4",
"urls": [
{"url": "https://github.com/oracle/graal.git", "kind": "git"},
{"url": "https://curio.ssw.jku.at/nexus/content/repositories/snapshots", "kind": "binary"},
Expand All @@ -16,7 +16,7 @@
{
"name": "sulong",
"subdir": True,
"version": "fa8a4eb585805b7ee82bcb5c82e7dbc0dd081136",
"version": "bf9b50cc88c919c0858c782a03d1badd6382a8d4",
"urls": [
{"url": "https://github.com/oracle/graal.git", "kind": "git"},
{"url": "https://curio.ssw.jku.at/nexus/content/repositories/snapshots", "kind": "binary"},
Expand Down

0 comments on commit bd96fa8

Please sign in to comment.