Skip to content

Commit

Permalink
Add missing moduleInfo needed for building truffle images
Browse files Browse the repository at this point in the history
  • Loading branch information
olpaw committed Jun 28, 2021
1 parent f15e85e commit 1e639c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions substratevm/mx.substratevm/suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -1090,6 +1090,7 @@
"com.oracle.svm.hosted.agent to java.instrument",
"com.oracle.svm.core.graal.thread to jdk.internal.vm.compiler",
"com.oracle.svm.core.classinitialization to jdk.internal.vm.compiler",
"com.oracle.svm.truffle.api to org.graalvm.truffle",
"* to org.graalvm.nativeimage.driver,org.graalvm.nativeimage.librarysupport,org.graalvm.nativeimage.llvm,com.oracle.svm.svm_enterprise",
],
"opens" : [
Expand All @@ -1109,6 +1110,8 @@
],
"uses" : [
"org.graalvm.nativeimage.Platform",
"com.oracle.truffle.api.TruffleLanguage.Provider",
"com.oracle.truffle.api.instrumentation.TruffleInstrument.Provider",
],
"requiresConcealed": {
"jdk.internal.vm.ci": [
Expand Down
2 changes: 1 addition & 1 deletion truffle/mx.truffle/suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@
],
"exports" : [
# Qualified exports
"com.oracle.truffle.api* to com.oracle.truffle.regex, jdk.internal.vm.compiler, com.oracle.graal.graal_enterprise",
"com.oracle.truffle.api* to com.oracle.truffle.regex, jdk.internal.vm.compiler, com.oracle.graal.graal_enterprise, org.graalvm.nativeimage.builder",
"com.oracle.truffle.api.impl to org.graalvm.locator",
"com.oracle.truffle.api to org.graalvm.locator, com.oracle.truffle.truffle_nfi, org.graalvm.nativeimage.builder",
"com.oracle.truffle.object to jdk.internal.vm.compiler, com.oracle.graal.graal_enterprise",
Expand Down

0 comments on commit 1e639c9

Please sign in to comment.