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

remove graal-core import

parent f8c4a3e2
Branches
No related tags found
No related merge requests found
...@@ -574,16 +574,21 @@ def installcran(args): ...@@ -574,16 +574,21 @@ def installcran(args):
script = join(cran_test, 'r', 'install.cran.packages.R') script = join(cran_test, 'r', 'install.cran.packages.R')
return rscript([script] + args) return rscript([script] + args)
def load_optional_suite(name, rev): def load_optional_suite(name, rev, kind='hg', build=True, url=None):
hg_base = mx.get_env('MX_HG_BASE') if not url:
urlinfos = None if hg_base is None else [mx.SuiteImportURLInfo(join(hg_base, name), 'hg', mx.vc_system('hg'))] hg_base = mx.get_env('MX_' + kind.upper() + '_BASE')
if hg_base is None:
url = None
else:
url = join(hg_base, name)
urlinfos = None if url is None else [mx.SuiteImportURLInfo(url, kind, mx.vc_system(kind))]
opt_suite = _fastr_suite.import_suite(name, version=rev, urlinfos=urlinfos) opt_suite = _fastr_suite.import_suite(name, version=rev, urlinfos=urlinfos)
if opt_suite: if opt_suite and build:
mx.build_suite(opt_suite) mx.build_suite(opt_suite)
return opt_suite return opt_suite
_r_apptests_rev = '2f363c204f713520ea1d881af71bac8962a82c72' _r_apptests_rev = '2f363c204f713520ea1d881af71bac8962a82c72'
_r_benchmarks_rev = '0b4f36819086323aebce7a2d7bc62949ff90950b' _r_benchmarks_rev = 'ecca4e50c2782a227468274a10d515d4d641e4ad'
def mx_post_parse_cmd_line(opts): def mx_post_parse_cmd_line(opts):
# load optional suites, r_apptests first so r_benchmarks can find it # load optional suites, r_apptests first so r_benchmarks can find it
......
...@@ -27,10 +27,10 @@ suite = { ...@@ -27,10 +27,10 @@ suite = {
"imports" : { "imports" : {
"suites" : [ "suites" : [
{ {
"name" : "graal-core", "name" : "truffle",
"version" : "0a3eb8f750758773e8b75230afd48e4350dac15", "version" : "f322868c76f775a399bf96915c95e077c4f2c08c",
"urls" : [ "urls" : [
{"url" : "https://github.com/graalvm/graal-core", "kind" : "git"}, {"url" : "https://github.com/graalvm/truffle", "kind" : "git"},
{"url" : "https://curio.ssw.jku.at/nexus/content/repositories/snapshots", "kind" : "binary"}, {"url" : "https://curio.ssw.jku.at/nexus/content/repositories/snapshots", "kind" : "binary"},
] ]
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment