Skip to content

Commit 03970b5

Browse files
committed
Add Truffle Macro components, now necessary for native env files
1 parent 5302deb commit 03970b5

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

mx.truffleruby/env_files.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
Here is how the various env files relate to each other:
22
* `jvm`
3-
* `jvm-ce`: + GraalVM CE Compiler
3+
* `jvm-ce`: + GraalVM Community Compiler
44
* `jvm-ce-ntl`: + native toolchain launchers
55
* `jvm-ce-libgraal`: + libgraal
6-
* `native`: + librubyvm
7-
* `jvm-ee`: + Oracle GraalVM Compiler & Oracle GraalVM Truffle
6+
* `native`: + librubyvm + `Truffle Macro`
7+
* `native-host-inlining`: + `TruffleHostInliningPrintExplored`, - native toolchain launchers
8+
* `jvm-ee`: + Oracle GraalVM Compiler + `Truffle enterprise`
89
* `jvm-ee-ntl`: + native toolchain launchers
910
* `jvm-ee-libgraal`: + libgraal
10-
* `native-ee`: + librubyvm
11+
* `native-ee`: + librubyvm + `Truffle Macro Enterprise`
1112
* `native-ee-g1`: + Native Image G1
1213
* `jvm-gu`: + Graal Updater
1314
* `jvm-js`: + Graal.js

mx.truffleruby/native

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
GRAALVM_SKIP_ARCHIVE=true
22
DYNAMIC_IMPORTS=/tools,/compiler,/substratevm
3-
COMPONENTS=TruffleRuby,suite:tools,GraalVM compiler,SubstrateVM,Native Image
3+
COMPONENTS=TruffleRuby,suite:tools,GraalVM compiler,SubstrateVM,Native Image,Truffle Macro
44
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

mx.truffleruby/native-ee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
GRAALVM_SKIP_ARCHIVE=true
22
DYNAMIC_IMPORTS=/tools,/graal-enterprise,/substratevm-enterprise
3-
COMPONENTS=TruffleRuby,suite:tools,GraalVM enterprise compiler,Truffle enterprise,SubstrateVM Enterprise
3+
COMPONENTS=TruffleRuby,suite:tools,GraalVM enterprise compiler,Truffle enterprise,SubstrateVM Enterprise,Truffle Macro Enterprise
44
NATIVE_IMAGES=suite:sulong,lib:rubyvm
55
EXTRA_IMAGE_BUILDER_ARGUMENTS=rubyvm:-H:BuildOutputJSONFile=native-image-build-rubyvm.json rubyvm:-H:+AuxiliaryEngineCache rubyvm:-H:ReservedAuxiliaryImageBytes=1073741824
66
# To also create the standalone

mx.truffleruby/native-ee-g1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
GRAALVM_SKIP_ARCHIVE=true
22
DYNAMIC_IMPORTS=/tools,/graal-enterprise,/substratevm-enterprise,substratevm-enterprise-gcs
3-
COMPONENTS=TruffleRuby,suite:tools,GraalVM enterprise compiler,Truffle enterprise,SubstrateVM Enterprise,SubstrateVM Enterprise GC
3+
COMPONENTS=TruffleRuby,suite:tools,GraalVM enterprise compiler,Truffle enterprise,SubstrateVM Enterprise,Truffle Macro Enterprise,SubstrateVM Enterprise GC
44
NATIVE_IMAGES=suite:sulong,lib:rubyvm
55
EXTRA_IMAGE_BUILDER_ARGUMENTS=rubyvm:-H:BuildOutputJSONFile=native-image-build-rubyvm.json rubyvm:-H:+UseG1GC
66
# To also create the standalone

mx.truffleruby/native-host-inlining

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
GRAALVM_SKIP_ARCHIVE=true
22
DYNAMIC_IMPORTS=/tools,/compiler,/substratevm
3-
COMPONENTS=TruffleRuby,suite:tools,GraalVM compiler,SubstrateVM,Native Image
3+
COMPONENTS=TruffleRuby,suite:tools,GraalVM compiler,SubstrateVM,Native Image,Truffle Macro
44
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

0 commit comments

Comments
 (0)