Skip to content

Commit 168108e

Browse files
committed
Create Native standalones by default for native* env files
* This used to be the case with just setting INSTALLABLES, but the addition of JVM standalones made all standalones opt-in.
1 parent 0315d12 commit 168108e

File tree

5 files changed

+5
-1
lines changed

5 files changed

+5
-1
lines changed

mx.truffleruby/native

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ NATIVE_IMAGES=suite:sulong,lib:rubyvm
55
EXTRA_IMAGE_BUILDER_ARGUMENTS=rubyvm:-H:BuildOutputJSONFile=native-image-build-rubyvm.json
66
# To also create the standalone
77
INSTALLABLES=TruffleRuby
8+
BUILD_TARGETS=GRAALVM,GRAALVM_STANDALONES

mx.truffleruby/native-ee

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ NATIVE_IMAGES=suite:sulong,lib:rubyvm
55
EXTRA_IMAGE_BUILDER_ARGUMENTS=rubyvm:-H:BuildOutputJSONFile=native-image-build-rubyvm.json
66
# To also create the standalone
77
INSTALLABLES=TruffleRuby
8+
BUILD_TARGETS=GRAALVM,GRAALVM_STANDALONES

mx.truffleruby/native-ee-aux

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ EXTRA_IMAGE_BUILDER_ARGUMENTS=rubyvm:-H:BuildOutputJSONFile=native-image-build-r
66
NATIVE_IMAGE_AUXILIARY_ENGINE_CACHE=true
77
# To also create the standalone
88
INSTALLABLES=TruffleRuby
9+
BUILD_TARGETS=GRAALVM,GRAALVM_STANDALONES

mx.truffleruby/native-host-inlining

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ NATIVE_IMAGES=lib:rubyvm
55
EXTRA_IMAGE_BUILDER_ARGUMENTS=rubyvm:-H:BuildOutputJSONFile=native-image-build-rubyvm.json rubyvm:-H:Log=HostInliningPhase,~CanonicalizerPhase,~GraphBuilderPhase rubyvm:-H:+TruffleHostInliningPrintExplored rubyvm:-Dgraal.LogFile=host-inlining.txt
66
# To also create the standalone
77
INSTALLABLES=TruffleRuby
8+
BUILD_TARGETS=GRAALVM,GRAALVM_STANDALONES

tool/make-standalone-distribution.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set -e
1010
set -x
1111

1212
# Build
13-
bin/jt build --env native -- --targets=GRAALVM_STANDALONES
13+
bin/jt build --env native
1414

1515
standalone=$(bin/jt mx --env native standalone-home ruby)
1616
release_home="$PWD/mxbuild/truffleruby-standalone"

0 commit comments

Comments
 (0)