Skip to content

Commit cf703ae

Browse files
committed
Migrate to the new GraalVM LLVM Runtime components
1 parent a7b8466 commit cf703ae

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

mx.fastr/mx_fastr.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def do_run_r(args, command, extraVmArgs=None, jdk=None, **kwargs):
9696

9797
dists = ['FASTR']
9898
if mx.suite("sulong", fatalIfMissing=False):
99-
dists.append('SULONG')
99+
dists.append('SULONG_NATIVE')
100100

101101
vmArgs = mx.get_runtime_jvm_args(dists, jdk=jdk)
102102

@@ -122,7 +122,7 @@ def run_grid_server(args, **kwargs):
122122
return mx.run_java(vmArgs + args, jdk=get_default_jdk(), **kwargs)
123123

124124
def r_classpath(args):
125-
print(mx.classpath('FASTR', jdk=mx.get_jdk()) + ":" + mx.classpath('SULONG', jdk=mx.get_jdk())) # pylint: disable=superfluous-parens
125+
print(mx.classpath('FASTR', jdk=mx.get_jdk()) + ":" + mx.classpath('SULONG_NATIVE', jdk=mx.get_jdk())) # pylint: disable=superfluous-parens
126126

127127
def _sanitize_vmArgs(jdk, vmArgs):
128128
'''
@@ -764,9 +764,9 @@ def mx_post_parse_cmd_line(opts):
764764
mx_subst.results_substitutions.register_no_arg('graalvm_version', mx.suite('sdk').release_version())
765765
if mx.suite("sulong", fatalIfMissing=False) and not _fastr_suite.isBinarySuite():
766766
# native.recommended runs FastR, it already has a build dependency to the FASTR distribution
767-
# if we are running with sulong we also need the SULONG distribution
767+
# if we are running with sulong we also need the SULONG_NATIVE distribution
768768
rec = mx.project('com.oracle.truffle.r.native.recommended')
769-
rec.buildDependencies += [mx.distribution('SULONG')]
769+
rec.buildDependencies += [mx.distribution('SULONG_NATIVE')]
770770

771771

772772
# R package testing

mx.fastr/mx_fastr_dists.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def mx_register_dynamic_suite_constituents(register_project, register_distributi
260260
short_name='R',
261261
license_files=['LICENSE_FASTR'],
262262
third_party_license_files=['3rd_party_licenses_fastr.txt'],
263-
dependencies=['Truffle', 'Sulong', 'LLVM.org toolchain'],
263+
dependencies=['Truffle', 'LLVM Runtime Native', 'LLVM.org toolchain'],
264264
truffle_jars=['fastr:FASTR'],
265265
support_distributions=['fastr:FASTR_GRAALVM_SUPPORT'],
266266
provided_executables=[

0 commit comments

Comments
 (0)