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

fix download_or_reuse_nif #82

Merged
merged 1 commit into from
Mar 10, 2024

Conversation

cocoa-xu
Copy link
Contributor

return {:ok, target, nif_version_to_use, url} to download_or_reuse_nif, and further pass it to Artefact.archive_path/3 so that elixir_make can find the correct filename and checksum in checksum.exs.

@josevalim
Copy link
Member

Should I release a new version after merging this? :)

@cocoa-xu
Copy link
Contributor Author

Should I release a new version after merging this? :)

Yea, sorry I forgot to change this part in the code. Current version will try to verify the checksum with host's NIF version, which would fail (fallback to compiling from source) if nif_version_to_use is not the same as host's NIF version.

@josevalim josevalim merged commit 1235bd3 into elixir-lang:master Mar 10, 2024
2 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

@josevalim
Copy link
Member

No worries, the new version will be out in a couple seconds.

@cocoa-xu cocoa-xu deleted the cx/fix-download_or_reuse_nif branch March 10, 2024 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants