Skip to content

Commit d0ab334

Browse files
steve-sansalond
authored andcommitted
Add GraalVM post installation message
(cherry picked from commit 989ed35)
1 parent c5c43e4 commit d0ab334

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

mx.fastr/mx_fastr_dists.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,4 +299,17 @@ def mx_register_dynamic_suite_constituents(register_project, register_distributi
299299
'bin/R',
300300
],
301301
include_in_polyglot=False,
302+
post_install_msg="NOTES:\n---------------\n" +
303+
"Some R packages need a system-dependent configuration before they can be installed. " +
304+
"A generic configuration that works out of the box in most cases is provided by default. " +
305+
"If you wish to fine-tune the configuration to your system or should you encounter any " +
306+
"issues during R package installation, try running the following script that adjusts " +
307+
"the configuration to your system: \n" +
308+
" ${graalvm_home}/jre/languages/R/bin/configure_fastr\n\n" +
309+
"The R component comes without native image by default. If you wish to build the native image, " +
310+
"which provides faster startup, but slightly slower peak performance, then run the following:\n" +
311+
" ${graalvm_home}/jre/languages/R/bin/install_r_native_image\n\n" +
312+
"The native image is then used by default. Pass '--jvm' flag to the R or Rscript launchers to " +
313+
"use JVM instead of the native image.\n\n" +
314+
"See http://www.graalvm.org/docs/reference-manual/languages/r for more."
302315
))

mx.fastr/suite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{
88
"name" : "truffle",
99
"subdir" : True,
10-
"version" : "205700799d38cc5adb239f5f6f1fce091b6cabb7",
10+
"version" : "822da2f5e092931e236885be3cc6e9cac35b5c7a",
1111
"urls" : [
1212
{"url" : "https://github.com/graalvm/graal", "kind" : "git"},
1313
{"url" : "https://curio.ssw.jku.at/nexus/content/repositories/snapshots", "kind" : "binary"},

0 commit comments

Comments
 (0)