Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
QueryR
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Julien Lopez
QueryR
Commits
85661799
Commit
85661799
authored
6 years ago
by
Danilo Ansaloni
Committed by
Gilles Duboscq
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
half-backed
parent
27a202c5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
mx.fastr/mx_fastr_dists.py
+4
-4
4 additions, 4 deletions
mx.fastr/mx_fastr_dists.py
mx.fastr/suite.py
+20
-5
20 additions, 5 deletions
mx.fastr/suite.py
with
24 additions
and
9 deletions
mx.fastr/mx_fastr_dists.py
+
4
−
4
View file @
85661799
...
...
@@ -204,8 +204,8 @@ def mx_post_parse_cmd_line(opts):
if
not
mx
.
distribution
(
'
FASTR_RELEASE{}
'
.
format
(
val
),
fatalIfMissing
=
False
):
mx
.
instantiateDistribution
(
'
FASTR_RELEASE<rffi>
'
,
dict
(
rffi
=
val
))
if
not
val
and
os
.
environ
.
has_key
(
'
FASTR_RELEASE
'
)
and
not
mx
.
distribution
(
'
fastr:FASTR_GRAALVM_SUPPORT
'
,
fatalIfMissing
=
False
)
:
mx
.
instantiate
Distribution
(
'
fastr:FASTR_GRAALVM_SUPPORT<rffi>
'
,
di
c
t
(
rffi
=
''
)
)
if
not
val
and
os
.
environ
.
has_key
(
'
FASTR_RELEASE
'
):
_
instantiate
_graalvm_support_
di
s
t
()
for
dist
in
mx_fastr
.
_fastr_suite
.
dists
:
if
isinstance
(
dist
,
mx
.
JARDistribution
):
...
...
@@ -216,8 +216,8 @@ def _instantiate_graalvm_support_dist():
mx
.
abort
(
'
Cannot instantiate the GraalVM support distribution when
\'
FASTR_RFFI
\'
is set. Found:
\'
{}
\'
'
.
format
(
os
.
environ
.
has_key
(
'
FASTR_RFFI
'
)))
if
not
os
.
environ
.
has_key
(
'
FASTR_RELEASE
'
):
mx
.
abort
(
'
Cannot instantiate the GraalVM support distribution when
\'
FASTR_RELEASE
\'
is not set.
'
)
if
not
mx
.
distribution
(
'
FASTR_RELEASE
'
,
fatalIfMissing
=
False
):
mx
.
instantiateDistribution
(
'
fastr:FASTR_RELEASE<rffi>
'
,
dict
(
rffi
=
''
))
if
not
mx
.
distribution
(
'
FASTR_
GRAALVM_
RELEASE
'
,
fatalIfMissing
=
False
):
mx
.
instantiateDistribution
(
'
fastr:FASTR_
GRAALVM_
RELEASE<rffi>
'
,
dict
(
rffi
=
''
,
os
=
mx
.
get_os
(),
arch
=
mx
.
get_arch
()
))
if
not
mx
.
distribution
(
'
fastr:FASTR_GRAALVM_SUPPORT
'
,
fatalIfMissing
=
False
):
mx
.
instantiateDistribution
(
'
fastr:FASTR_GRAALVM_SUPPORT<rffi>
'
,
dict
(
rffi
=
''
))
...
...
This diff is collapsed.
Click to expand it.
mx.fastr/suite.py
+
20
−
5
View file @
85661799
...
...
@@ -463,6 +463,21 @@ suite = {
},
},
"
FASTR_GRAALVM_RELEASE<rffi>
"
:
{
"
native
"
:
True
,
"
platformDependent
"
:
True
,
"
relpath
"
:
True
,
"
description
"
:
"
a binary release of FastR
"
,
"
dependencies
"
:
[
"
com.oracle.truffle.r.release
"
],
"
os_arch
"
:
{
"
<others>
"
:
{
"
<others>
"
:
{
"
path
"
:
"
mxbuild/dists/<os>/<arch>/<rffi>/fastr-graalvm-release.tar.gz
"
,
},
},
},
},
"
FASTR_GRAALVM_SUPPORT<rffi>
"
:
{
"
native
"
:
True
,
"
platformDependent
"
:
True
,
...
...
@@ -471,7 +486,7 @@ suite = {
"
./
"
:
[
{
"
source_type
"
:
"
extracted-dependency
"
,
"
dependency
"
:
"
FASTR_RELEASE<rffi>
"
,
"
dependency
"
:
"
FASTR_
GRAALVM_
RELEASE<rffi>
"
,
"
path
"
:
"
*
"
,
"
exclude
"
:
[
"
COPYRIGHT
"
,
...
...
@@ -484,7 +499,7 @@ suite = {
},
{
"
source_type
"
:
"
extracted-dependency
"
,
"
dependency
"
:
"
FASTR_RELEASE<rffi>
"
,
"
dependency
"
:
"
FASTR_
GRAALVM_
RELEASE<rffi>
"
,
"
path
"
:
"
bin/fastr_jars/*
"
,
"
exclude
"
:
[
"
bin/fastr_jars/fastr.jar
"
,
...
...
@@ -494,9 +509,9 @@ suite = {
},
"
dependency:fastr:GNUR
"
,
],
"
COPYRIGHT_FASTR
"
:
"
extracted-dependency:fastr:FASTR_RELEASE<rffi>/COPYRIGHT
"
,
"
LICENSE_FASTR
"
:
"
extracted-dependency:fastr:FASTR_RELEASE<rffi>/LICENSE
"
,
"
README_FASTR
"
:
"
extracted-dependency:fastr:FASTR_RELEASE<rffi>/README.md
"
,
"
COPYRIGHT_FASTR
"
:
"
extracted-dependency:fastr:FASTR_
GRAALVM_
RELEASE<rffi>/COPYRIGHT
"
,
"
LICENSE_FASTR
"
:
"
extracted-dependency:fastr:FASTR_
GRAALVM_
RELEASE<rffi>/LICENSE
"
,
"
README_FASTR
"
:
"
extracted-dependency:fastr:FASTR_
GRAALVM_
RELEASE<rffi>/README.md
"
,
"
bin/Rscript
"
:
"
file:com.oracle.truffle.r.release/src/Rscript_legacy
"
,
"
bin/exec/R
"
:
"
file:com.oracle.truffle.r.release/src/R_legacy
"
,
"
legacy/
"
:
"
dependency:fastr:FASTR_LEGACY_LAUNCHER
"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment