You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assertnotany(cp_arginself.polyglot_lib_build_argsforcp_argin ('-cp', '-classpath')), "the '{}' component passes a classpath argument to libpolylgot: '{}'. Use `polyglot_lib_jar_dependencies` instead".format(self.name, ' '.join(self.polyglot_lib_build_args))
Copy file name to clipboardExpand all lines: vm/README.md
+5-24Lines changed: 5 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,8 +33,6 @@ The base GraalVM CE image includes:
33
33
- Sulong
34
34
- Graal.nodejs
35
35
- Graal.js (imported as a dependency of `graal-nodejs`)
36
-
- the `polyglot` launcher
37
-
- the `libpolyglot` shared library
38
36
39
37
In our CI, we build it using:
40
38
- the latest JVMCI-enabled JDK8 ([pre-built archives](https://github.com/graalvm/openjdk8-jvmci-builder/releases); [build instructions](https://github.com/graalvm/openjdk8-jvmci-builder)). The `JAVA_HOME` environment variable must point to it.
@@ -54,21 +52,19 @@ Which uses the settings in the env file in `mx.vm/ce`. Note that you can add cus
When `substratevm` is imported, the build system creates native launchers for the supported languages and for `polyglot`, plus the shared polyglot library (`libpolyglot`).
92
-
Otherwise, it creates bash launchers for the languages and for `polyglot`, and does not create the shared polyglot library.
87
+
When `substratevm` is imported, the build system creates native launchers for the supported languages.
88
+
Otherwise, it creates bash launchers for the languages.
93
89
94
90
To override the default behavior, the `vm` suite defines the following `mx` arguments:
95
91
```
96
-
--native-images=... Comma-separated list of launchers and libraries (syntax: lib:polyglot) to build with Native Image.
97
-
--disable-libpolyglot Disable the 'polyglot' library project
98
-
--disable-polyglot Disable the 'polyglot' launcher project
92
+
--native-images=... Comma-separated list of launchers and libraries (syntax: lib:jsvm) to build with Native Image.
99
93
--force-bash-launchers=... Force the use of bash launchers instead of native images.
100
94
This can be a comma-separated list of disabled launchers or `true` to disable all native launchers.
101
95
```
102
96
And the following environment variables:
103
97
```
104
98
NATIVE_IMAGES Same as '--native-images'
105
-
DISABLE_LIBPOLYGLOT Same as '--disable-libpolyglot'
106
-
DISABLE_POLYGLOT Same as '--disable-polyglot'
107
99
FORCE_BASH_LAUNCHERS Same as '--force-bash-launchers'
108
100
```
109
101
110
-
Note that when the shared polyglot library is not built, Graal.nodejs can only work in JVM-mode (`node --jvm [args]`).
111
-
112
-
113
-
### Example: avoid building the polyglot image and the polyglot shared library
0 commit comments