From 4dcd8ba64fa844a6231fa8eeb04ba9875c43297b Mon Sep 17 00:00:00 2001 From: Danilo Ansaloni Date: Fri, 2 Jun 2023 10:52:38 +0200 Subject: [PATCH 1/3] Update graal imports. --- mx.truffleruby/suite.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mx.truffleruby/suite.py b/mx.truffleruby/suite.py index 9affafae1e6d..b58698ed6be8 100644 --- a/mx.truffleruby/suite.py +++ b/mx.truffleruby/suite.py @@ -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"}, @@ -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"}, From 7af93a6fb13487f2226e8c1d2663ddb9a6a4c7cf Mon Sep 17 00:00:00 2001 From: Danilo Ansaloni Date: Thu, 1 Jun 2023 20:01:40 +0200 Subject: [PATCH 2/3] TruffleRuby EE standalone includes Sulong Enterprise. (cherry picked from commit 1a44b687f5c91e8c7e6911866065185522d34b4f) --- mx.truffleruby/mx_truffleruby.py | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/mx.truffleruby/mx_truffleruby.py b/mx.truffleruby/mx_truffleruby.py index 9009ba07ba8a..201a39716d04 100644 --- a/mx.truffleruby/mx_truffleruby.py +++ b/mx.truffleruby/mx_truffleruby.py @@ -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', @@ -235,13 +241,15 @@ def verify_ci(args): standalone_dir_name='truffleruby---', 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': ('', []), + }}, truffle_jars=[ 'truffleruby:TRUFFLERUBY', 'truffleruby:TRUFFLERUBY-SHARED', From 52d3c18763e52531e57ab2e1ce162cde9156edf6 Mon Sep 17 00:00:00 2001 From: Danilo Ansaloni Date: Fri, 2 Jun 2023 14:36:32 +0200 Subject: [PATCH 3/3] Add EE license to the TruffleRuby EE standalone. (cherry picked from commit 1be67726891fd9dc1b9cb0e9ff2613a4b1980fa5) --- mx.truffleruby/mx_truffleruby.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mx.truffleruby/mx_truffleruby.py b/mx.truffleruby/mx_truffleruby.py index 201a39716d04..f3899c5c309b 100644 --- a/mx.truffleruby/mx_truffleruby.py +++ b/mx.truffleruby/mx_truffleruby.py @@ -249,6 +249,7 @@ def verify_ci(args): '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',