Skip to content
Snippets Groups Projects
Commit ddca2be4 authored by Mick Jordan's avatar Mick Jordan
Browse files

Add methods for generic benchmark support

parent 762046b9
Branches
No related tags found
No related merge requests found
...@@ -70,6 +70,13 @@ _repl_command = 'com.oracle.truffle.tools.debug.shell.client.SimpleREPLClient' ...@@ -70,6 +70,13 @@ _repl_command = 'com.oracle.truffle.tools.debug.shell.client.SimpleREPLClient'
_command_class_dict = {'r': _r_command_project + ".shell.RCommand", _command_class_dict = {'r': _r_command_project + ".shell.RCommand",
'rscript': _r_command_project + ".shell.RscriptCommand", 'rscript': _r_command_project + ".shell.RscriptCommand",
'rrepl': _repl_command} 'rrepl': _repl_command}
# benchmarking support
def r_path():
return join(_fastr_suite.dir, 'bin', 'R')
def r_version():
# Could figure this out dynamically
return 'R-3.2.4'
def do_run_r(args, command, extraVmArgs=None, jdk=None, **kwargs): def do_run_r(args, command, extraVmArgs=None, jdk=None, **kwargs):
''' '''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment