eclipse-platform / eclipse.platform.releng.aggregator

Aggregated repository for Eclipse Java IDE
https://www.eclipse.org/eclipse/
Eclipse Public License 2.0
30 stars 71 forks source link

Add eclipse building for Loongarch #2187

Open fangyaling opened 1 month ago

fangyaling commented 1 month ago

Hi, Maintainers Previously, due to JNA's upstream not supporting loongarch, the submission of Eclipse's support for loongarch modifications was suspended.
Now that the relevant dependencies have been met, and our customers have requirement for eclipse IDE and repository,too. For more users to use Eclipse more conveniently, we are interested in getting builds for LoongArch produced and contributing the needed infrastructure. Based on previous communication, we need to provide a compilation environment to support the compilation. What kind of compilation environment do we need to provide, remote services or donated machines?

akurtakov commented 1 month ago

@waynebeaton @mbarbero @fredg02 It's you that have to step up and say how can compilation environment for LoongArch be provided to EF so Eclipse Platform project can make use of it.

mbarbero commented 1 month ago

AFAICT, there is not cloud provider with loongarch support. So this could not go through resource pack sponsorship from a member (unlike aarch64 in https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/4276).

My best guess is that you would have to discuss with the IDE WG to discuss how such a machine can be acquired and maintained by EF staff.

/cc @agafgfafa @tfroment @heurtematte

tfroment commented 1 month ago

Thank you for cc me, @fangyaling feel free to keep in touch with me to see how to put that in place, easiest way to reach out is to connect through our eclipse matrix room at https://chat.eclipse.org/#/room/#eclipse-ide:matrix.eclipse.org

fangyaling commented 1 month ago

@tfroment @mbarbero @akurtakov Thanks for reply. In my local latest IDE building, there are some submodules' arch binary need to be downloaded, such as swt/equinox excuteable. JDK seems,too.
What should we do next? Waiting for more others' comments, or do we need to continue discussing this issue in Eclipse matrix Room?

tfroment commented 1 month ago

@tfroment @mbarbero @akurtakov Thanks for reply. In my local latest IDE building, there are some submodules' arch binary need to be downloaded, such as swt/equinox excuteable. JDK seems,too. What should we do next? Waiting for more others' comments, or do we need to continue discussing this issue in Eclipse matrix Room?

Hi @fangyaling, I was suggesting you to connect to me through matrix with my "Eclipse IDE Working Group (program manager)" hat in case you would consider the option suggested by @mbarbero to acquire a dedicated machine through the Working Group. So, in short: I am available to discuss this opportunity to contribute to the WG in order to put in place such a machine, but I am not the right contact to have the "technical" discussion (and the technical discussion should probably occur here)...

akurtakov commented 1 month ago

From technical POV - for Linux loongarch support no code changes are required but rather releng ones to enable compilation. Thus once a machine is attached (up to @fangyaling and @tfroment to figure that one) to https://ci.eclipse.org/releng/ we can start accepting patches to build swt and equinox launcher binaries and that should be majority of the work done.

merks commented 1 month ago

Just an observation. I don't see this architecture supported by Temurin:

https://adoptium.net/temurin/releases/

I see some discussion about it here:

https://github.com/adoptium/temurin-build/issues/3120

akurtakov commented 1 month ago

Temurin support is not that relevant till we get Eclipse SDK for loongarch produced properly. Considering previous arch additions simrel adds support for the new arch 1-2 releases later than the SDK is produced and sometimes not at all.

fangyaling commented 1 month ago

@akurtakov So the first thing what I need to do next is to discuss with @tfroment about how to connect the machine to https://ci.eclipse.org/releng/. After that, submit the SWT and Equinox patches to compile binary, and finally configure other modules that require the addition of loongarch?

akurtakov commented 1 month ago

@akurtakov So the first thing what I need to do next is to discuss with @tfroment about how to connect the machine to https://ci.eclipse.org/releng/. After that, submit the SWT and Equinox patches to compile binary, and finally configure other modules that require the addition of loongarch?

Exactly!

fangyaling commented 1 month ago

Thanks for all. I'm checking IT env with @tfroment now. and I'll update message while the process done or any issues happened