Skip to content
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

Yori installer for the arm64 Windows #110

Open
ajalexei opened this issue Mar 29, 2023 · 4 comments
Open

Yori installer for the arm64 Windows #110

ajalexei opened this issue Mar 29, 2023 · 4 comments

Comments

@ajalexei
Copy link

How difficult would it be to make an arm64 installer in addition to the x86_64?
I know that the code is arm64 ready -- I used to compile the arm version myself.
Given there is a cross-compilation option for Visual Studio on the x86_64 machines, it seems relatively straightforward to produce an arm binary?

@ajalexei ajalexei changed the title Yori for the arm64 Windows Yori installer for the arm64 Windows Mar 29, 2023
@malxau
Copy link
Owner

malxau commented Mar 29, 2023

For the vast majority of cases, there's an x86 installer (which can run on x86_64 or arm64), that installer detects the "correct" architecture to install, and installs it. The only reason an x86_64 installer exists is to support versions of Windows with all 32 bit support removed (WinPE, Nano Server, etc.)

The build system produces arm64 ysetup.exe, I just haven't posted links to it because I can't find a scenario that it would help.

When can an arm64 system not run the emulated x86 installer?

@ajalexei
Copy link
Author

The arm system can run the emulated x86 installer.
However I much prefer to run the native binaries due to their lower power consumption (one of the points of the Windows arm however disputable). That is at least the case where that would help me, and maybe other Windows on arm users.
Given the system produces the native arm installer anyway, is there any issue with posting the link?

@malxau
Copy link
Owner

malxau commented Mar 29, 2023

The reason I'm avoiding posting links is it's simpler to have a single installer that works everywhere without users having to know which one to run. The binaries it installs will be native arm64, so the power overhead is fairly minimal. It'd be great if Windows had fat binaries, but it doesn't...

@ajalexei
Copy link
Author

Ah, so the installer is x86, but the binaries are appropriate to the system?
That's great.
Perhaps some indication on the Yori webpage that the installer is universal might be helpful.
So far I quite often see the binaries/installers for x86 or x86_64, and if not indication assume it is x86-only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants