-
Notifications
You must be signed in to change notification settings - Fork 164
Updated the code related to LoongArch and added the necessary so files. #1135
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
base: master
Are you sure you want to change the base?
Conversation
Unfortunately, we can not accept the binaries submitted as they will get out of sync with java parts whenever the next change is. What is needed is getting longarch builder in the EF infrastructure which the project can use to rebuild native parts whenever needed. |
Thanks for your reply! Could you tell me in which form I can provide the loongarch builder to EF? Is it acceptable to use methods other than physical machines (such as qemu)? Thanks again :) |
Should these natives not already be build automatically? @HannesWell ? @tianxu1997 I think the best is to look how it is done for other platforms and check if cross compile is possible. |
thank you! |
@fredg02 should be able to answer the question about providing a machine. |
Unfortunately, I need to quote the first paragraphs of https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/4276#note_1752405:
|
Cross-compiling or using QEMU is probably best. |
@tianxu1997 there is no cross compiling yet I'm aware of it.... but you can look what maschine / architectures we have and then see if any of them suitable for crosscompiling/QEMU |
What about having such machine (if sponsored by someone)? While cross compiling may work for producing binaries, what should we do to at least smoke test the builds (https://ci.eclipse.org/releng/job/SmokeTests/). |
@akurtakov what confuses me is that according to this we modified it last week: so is it actually not shipped / build / used / tested / ...? |
Exactly. Just the project exists in git at the moment.
Agree on that. We should do that like it is currently done for Windows on Arm in #1045. I also want to create a link to #175 (comment) since this would not be necessary, if we would use the FFM-API for the native access. |
Great, I'll try QEMU, thanks for your reply:) |
Sorry about this, I'm not sure if we can provide such machine yet |
I try to build LoongArch64 binaries on X86 using cross-compilation. Toolchain url: https://github.com/sunhaiyong1978/CLFS-for-LoongArch/releases/download/8.0/loongarch64-clfs-8.0-cross-tools-gcc-full.tar.xz , and this link is on this page: https://github.com/sunhaiyong1978/CLFS-for-LoongArch After preparing the cross-compilation toolchain, I specify the values of MODEL, SWT_JAVA_HOME, and CC to compile LoongArch64 binaries on x86. And it works. Is this solution acceptable? @akurtakov @fredg02 @HannesWell @laeubi |
When I tried to build the Eclipse platform on the LoongArch platform, I found that the relevant code was too outdated. Therefore, I made some modifications, including modifying the code and compiling the necessary so files.
If this is appropriate, I will submit modifications to other submodules of the Eclipse platform (eclipse.platform.ui, equinox, etc.) in the next few days.