Skip to content

Commit e3757dd

Browse files
committed
Use GraalVM CPU architecture compatibility mode
This prevents GraalVM from using CPU architecture extensions (for example, AVX and AVX2 for x86_64). This will increase the portability of the binary (i.e. it can be run on older CPUs that don't support those instructions). Docs for the setting: https://www.graalvm.org/latest/reference-manual/native-image/overview/Options/#build-options See redhat-developer/vscode-xml#1055 Signed-off-by: David Thompson <davthomp@redhat.com>
1 parent a5f12dd commit e3757dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

org.eclipse.lemminx/pom.xml

+1
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@
176176
<imageName>lemminx-${os.detected.classifier}-${project.version}</imageName>
177177
<buildArgs>
178178
--no-fallback
179+
-march=compatibility
179180
--enable-http
180181
--enable-https
181182
${graalvm.static}

0 commit comments

Comments
 (0)