Skip to content

Commit 6107ac3

Browse files
Update install_r_native_image
1 parent aaab0de commit 6107ac3

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

com.oracle.truffle.r.native/run/install_r_native_image

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ if [[ $silent -eq 0 ]]; then
7474
fi
7575

7676
cd "$fastr_home/bin"
77-
../../../../bin/native-image --initialize-at-build-time --no-server --language:R
77+
../../../../bin/native-image --initialize-at-build-time --no-server -cp "$fastr_home/fastr-launcher.jar:$fastr_home/../../lib/graalvm/launcher-common.jar" --language:R --tool:chromeinspector --tool:profiler -H:Class=com.oracle.truffle.r.launcher.RMain -H:Name=RMain
7878
cp "exec/R" "exec_R.backup"
7979
cp "Rscript" "Rscript.backup"
8080
sed -e '/^## REMOVE FOR NATIVE IMAGE: BEGIN/,/^## REMOVE FOR NATIVE IMAGE: END/d;' "exec_R.backup" | \

mx.fastr/native-image.properties

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
# This file contains native-image arguments needed to fastr
22
#
33

4-
#ImageName = RMain
5-
#Requires = tool:chromeinspector \
6-
# tool:profiler
7-
#LauncherClass = com.oracle.truffle.r.launcher.RMain
8-
#LauncherClassPath = lib/graalvm/launcher-common.jar:languages/R/fastr-launcher.jar
9-
104
Requires = language:nfi
115

126
JavaArgs = \

0 commit comments

Comments
 (0)