Skip to content

Commit 5ad20dd

Browse files
committed
Add native-profiling env file
1 parent 4327dcc commit 5ad20dd

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

mx.truffleruby/env_files.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Here is how the various env files relate to each other:
55
* `jvm-ce-libgraal`: + libgraal
66
* `native`: + librubyvm + `Truffle Macro`
77
* `native-host-inlining`: + `TruffleHostInliningPrintExplored`, - native toolchain launchers
8+
* `native-profiling`: + `-H:-DeleteLocalSymbols`
89
* `jvm-ee`: + Oracle GraalVM Compiler + `Truffle enterprise` + license + `LLVM Runtime Native Enterprise`
910
* `jvm-ee-ntl`: + native toolchain launchers
1011
* `jvm-ee-libgraal`: + libgraal

mx.truffleruby/native-profiling

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
GRAALVM_SKIP_ARCHIVE=true
2+
DYNAMIC_IMPORTS=/tools,/compiler,/substratevm
3+
COMPONENTS=TruffleRuby,suite:tools,GraalVM compiler,SubstrateVM,Truffle Macro
4+
NATIVE_IMAGES=suite:sulong,lib:rubyvm
5+
EXTRA_IMAGE_BUILDER_ARGUMENTS=rubyvm:-H:+UnlockExperimentalVMOptions rubyvm:-H:BuildOutputJSONFile=native-image-build-rubyvm.json rubyvm:-H:-DeleteLocalSymbols rubyvm:-H:-UnlockExperimentalVMOptions
6+
GENERATE_DEBUGINFO=false
7+
# To also create the standalone
8+
INSTALLABLES=TruffleRuby
9+
BUILD_TARGETS=GRAALVM,GRAALVM_STANDALONES

0 commit comments

Comments
 (0)