-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for ARM/aarch64 #2784
Comments
In #2680 we recommended the @gayanper are you aware of any recent issue with the With #2783 I am seeing :
It seems like some of the platform-specific bundles we use don't have a version for aarch64 :\ |
Ah my bad - I assumed win would work the same... seems to only build aarch64 for linux/mac. It does build with the windows config removed. |
Looks like we're just adding native support for MacOS M1/M2 (ie. no more need to rely on New bundles with the proposed change Seems reasonable. @jdneo , @fbricon , thoughts ? Seems we could provide support for these platforms natively. I would just want to do a smoke test on MacOs to confirm it works as before. Do we know of any problems with large projects plaguing only MacOS ? |
@rgrunber with Eclipse IDE i have not come across any issues running on Macbook M1 with aarch64 builds. If you provide a nightly with native image for aarch64 i could try out with jdt.core, jdt.ui and jdt.debug workspace i have. |
I'm fine with that enhancement. Although I'm not aware of any existing issues with aarch64 machines |
@edjeffreys, How did you use the aarch64 bundles ? Were you using it in some custom JDT-LS client ? Was it based on vscode-java (the VS Code client) itself ? I ask because looking at your proposed change, there was just one piece missing. Mainly : https://github.com/eclipse-jdtls/eclipse.jdt.ls/pull/2783/files#diff-18e0fca9cf6cbaf893039113439f4e2df96c36566891af550cef196d33cc1cae . Without that, the final tarball generated under Furthermore, vscode-java still requires changes to adopt the new platform-specific bundles at https://github.com/redhat-developer/vscode-java/blob/8fa2464e16028b248fd89efc14622aeab251e890/src/javaServerStarter.ts#L166-L172 . If you were using any of these methods above and didn't make these changes, then it's likely you would still be running off the |
Yes, I'm using it in nvim-jdtls which directly uses the contents of
|
Ok 👍 that's good enough for me. We can include the change as part of the build and because of the additional client-side configuration necessary, at least clients can explicitly opt in/out depending on their preference. This does increase the (skipping tests) build from ~50s to 1m but there are ways to keep the build going faster for testing purposes. |
Is there any reason
aarch64
isn't already supported?Running
x86_64
on M1 mac with Rosetta has proven problematic with large projects (there seems to be some memory leak), but so far I've had pretty good success locally with #2783, though it's possible I'm missing some known reason this can't be supported.The text was updated successfully, but these errors were encountered: