On Tue, 17 Jun 2025 17:57:06 GMT, Luigi Montoya <d...@openjdk.org> wrote:

>> Is this the case when downloading VS on x64 as well, that you get a binary 
>> that can only be run on aarch64 bundled too? Or is the x64 installation just 
>> a subset of the aarch64 installation?
>
> When you download VS on x64 you just get cross-compilers for aarch64 (I don't 
> know why). The `Hostarm64` directory is not created in x64 machines.

So if we run the devkit script on an aarch64 machine, we can create a devkit 
that will work on both x64 and aarch64? But if we run it on x64, the devkit 
that we create will only work on x64? Have I got this right?

If so, I think the script should support this, and make it clear what it does. 
That is, if you run it on aarch64, you get a multi-platform devkit, but on x64 
you get a x64-only devkit. I think the devkit script should mention this, 
ideally in an `echo` statement, but a comment in the source code is acceptable. 
Like:
`You are generating a devkit for x64 only. To include aarch64 as well, run the 
script on windows/aarch64` and `Generating devkit for x64 and aarch64`, 
respectively. Or something like that.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/25259#discussion_r2157119798

Reply via email to