redhat-developer / vscode-xml

Editing XML in Visual Studio Code made easy
Eclipse Public License 2.0
262 stars 82 forks source link

AVX2 #1008

Closed michaelcarno closed 5 months ago

michaelcarno commented 5 months ago

image

Hi! Got this. We using old servers cpu's. Looks like i dont have AVX2 and probably some other instruction, so how can i rebuild executable without avx2?

fbricon commented 5 months ago

Can you try using the java version first?

If you really need to recompile the binary, maybe try rebuilding lemminx with the -march=compatibility flag in https://github.com/eclipse/lemminx/blob/main/org.eclipse.lemminx/pom.xml#L169

Then you can configure the xml.server.binary.path in your vscode settings, pointing at your new binary.

michaelcarno commented 5 months ago

Thank you and sorry, everything was in readme.