Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add ability to specify OTP architecture #316

Merged
merged 3 commits into from
Jan 31, 2025
Merged

Conversation

gilbertbw
Copy link
Contributor

Description

Closes #315 .

n.b. I have checked npm test and it is returning an exit code of 0, but there is a massive amount of debug output so I could not see any success/fail messages from testing.

@starbelly
Copy link
Member

This LGTM. Would like to see what @paulo-ferraz-oliveira .

@gilbertbw
Copy link
Contributor Author

@starbelly do you think the failing check is some transient issue with builds.hex.pm? Would you be able to rerun it?

@starbelly
Copy link
Member

@starbelly do you think the failing check is some transient issue with builds.hex.pm? Would you be able to rerun it?

That indeed was the issue. This LGTM and @wojtekmach seemed to think so as well.

@starbelly starbelly merged commit 3360bff into erlef:main Jan 31, 2025
59 checks passed
- uses: erlef/setup-beam@v1
with:
otp-version: '26'
otp-architecture: '32'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry I haven't responded sooner. Why is this 32 as opposed to x86/x86_64? I believe the latter would be more future proof as there is slowly arm64-windows support being added: https://github.com/erlang/otp/pull/8991/files.

That being said it is fine to wait for arm builds to show up and we could deprecate 32/64 in favor of x86/x86_64 (note: you're gonna be able to run x86_64/x86_64 on arm64 windows but not the other way around) but I don't see a downside in doing it right now.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @wojtekmach , no release has been cut, if we need to we can revert, but also sounds like it's a future proof issue.

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

Successfully merging this pull request may close these issues.

Support for installing 32-bit Elixir on Windows
3 participants