-
Notifications
You must be signed in to change notification settings - Fork 67
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
Add support for Windows on Arm64 (WoA). #559
Add support for Windows on Arm64 (WoA). #559
Conversation
@chirontt thanks for bringing this forward, in SWT we used (eclipse) linked folders to make the same sources available for different fragements, would something like this be suitable for the WoA fragemnt as well so we don't need an additional intermediate? |
Yes, it may be doable. The benefits will be to remove the new |
@laeubi I've done what you suggested, but I encounter some small hiccup: how to include the
but the resulting
but then the resulting
and it almost achieves what I want, but the resulting Is there a better way? Otherwise I'd use the |
@chirontt I also looked into this and in order to simplify the Would you be interested in looking into this in a separate PR? If not, I can do it. |
@HannesWell Yes, using JNA is a good idea, better than these clunky JNI/C files with re-compile for various platforms. But I have no experience with JNA, so please go ahead and see if JNA is applicable here. Once JNA is proven to work, there are other places in https://github.com/eclipse-platform/eclipse.platform/tree/master/resources/bundles/org.eclipse.core.filesystem/natives |
Absolutely. It looks good, see #564.
The filesystem-access implemented in The situation for Therefore my suggestion is to first focus on the absolute requirements, namely SWT and the Equinox-Launcher. |
bf27f2a
to
196f9c4
Compare
Branch updated with the latest from master, with PR description updated as well. |
196f9c4
to
ba48051
Compare
Finally I have a draft PR for that up: #603 In the meantime you could already rebase your PR and resolve the conflicts due to my earlier rework/clean-up of the native build. |
ba48051
to
909903a
Compare
PR rebased to latest in master, and PR description is updated as well to reflect the |
0f78456
to
17266db
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update. Now that #603 is submitted too, I updated this PR to also make the necessary modifications to the Jenkinsfile
(similar like the one done in SWT).
If everything goes well, I'll plan to submit this tomorrow and continue with the other related pending PRs.
63e2573
to
d05a80e
Compare
features/org.eclipse.equinox.executable.feature/library/win32/build.bat
Outdated
Show resolved
Hide resolved
A new launcher fragment for WoA is added: 'org.eclipse.equinox.launcher.win32.win32.aarch64' Various features are also updated to include the new fragment. To build the Equinox launcher binaries for WoA: On a WoA box, run the following command at the root directory of this repo: mvn clean generate-resources -Dnative=win32.win32.aarch64 and the following launcher binaries for WoA are generated: eclipse.exe eclipse_11902.dll eclipsec.exe which are moved over to the 'equinox.binaries' repo which is at the same directory level as that of this repo, i.e. '..\equinox.binaries', and to their corresponding directories there as followed: ..\equinox.binaries\org.eclipse.equinox.executable\bin\win32\win32\aarch64\eclipse.exe ..\equinox.binaries\org.eclipse.equinox.executable\bin\win32\win32\aarch64\eclipsec.exe ..\equinox.binaries\org.eclipse.equinox.launcher.win32.win32.aarch64\eclipse_11902.dll
d05a80e
to
1e73236
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just applied the suggested changes and fixed a small missing piece in the org.eclipse.equinox.executable.feature\resources\build.xml
(although I'm not sure if that's even used anymore, see #592).
With that this is ready for submission, once the Jenkins build has succeeded (all other builds cannot succeed without the initial build of the win32.aarch64
launcher binaries).
Thank you for yet another great contribution and an important step towards full support of WoA by Eclipse.
Add support for Windows on Arm64 (WoA)
A new launcher fragment for WoA is added:
org.eclipse.equinox.launcher.win32.win32.aarch64
Various features are also updated to include the new fragment.
To manually build the Equinox launcher binaries for WoA
On a WoA box, run the following command at the root directory of this repo:
and the following launcher binaries for WoA are generated:
which are moved over to the
rt.equinox.binaries
repo which is supposedly at the same directory level as that of this repo, i.e. at..\rt.equinox.binaries
, and to their corresponding sub-directories there as followed: