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

[GR-4680] Back out templated distribution.

parent 00e8f347
No related branches found
No related tags found
No related merge requests found
...@@ -213,12 +213,6 @@ class FastRArchiveParticipant: ...@@ -213,12 +213,6 @@ class FastRArchiveParticipant:
shutil.rmtree(include_dir) shutil.rmtree(include_dir)
def mx_post_parse_cmd_line(opts): def mx_post_parse_cmd_line(opts):
if os.environ.has_key('FASTR_RFFI'):
val = os.environ['FASTR_RFFI']
else:
val = ""
mx.instantiateDistribution('FASTR_RELEASE<rffi>', dict(rffi=val))
for dist in mx_fastr._fastr_suite.dists: for dist in mx_fastr._fastr_suite.dists:
if isinstance(dist, mx.JARDistribution): if isinstance(dist, mx.JARDistribution):
dist.set_archiveparticipant(FastRArchiveParticipant(dist)) dist.set_archiveparticipant(FastRArchiveParticipant(dist))
......
...@@ -365,26 +365,26 @@ suite = { ...@@ -365,26 +365,26 @@ suite = {
], ],
}, },
"FASTR_RELEASE<rffi>": { "FASTR_RELEASE": {
"description" : "a binary release of FastR", "description" : "a binary release of FastR",
"dependencies" : ["com.oracle.truffle.r.release"], "dependencies" : ["com.oracle.truffle.r.release"],
"os_arch" : { "os_arch" : {
"linux" : { "linux" : {
"amd64" : { "amd64" : {
"path" : "mxbuild/dists/linux/amd64/<rffi>/fastr-release.jar", "path" : "mxbuild/dists/linux/amd64/fastr-release.jar",
}, },
"sparcv9" : { "sparcv9" : {
"path" : "mxbuild/dists/linux/sparcv9/<rffi>/fastr-release.jar", "path" : "mxbuild/dists/linux/sparcv9/fastr-release.jar",
}, },
}, },
"darwin" : { "darwin" : {
"amd64" : { "amd64" : {
"path" : "mxbuild/dists/darwin/amd64/<rffi>/fastr-release.jar", "path" : "mxbuild/dists/darwin/amd64/fastr-release.jar",
}, },
}, },
"solaris" : { "solaris" : {
"sparcv9" : { "sparcv9" : {
"path" : "mxbuild/dists/solaris/sparcv9/<rffi>/fastr-release.jar", "path" : "mxbuild/dists/solaris/sparcv9/fastr-release.jar",
}, },
}, },
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment