Repository navigation
Conversation
Build blst.dll natively on windows-11-arm with the MSVC ARM64 toolchain so build.bat assembles the armv8 assembly, and run the tests on that runner. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Move the native library builds to a dispatchable Build blst workflow that builds natively per architecture and optionally opens a PR with updated binaries. Test / Publish now tests the committed binaries on all six runtimes and publishes on release or dispatch. Fix the README badge. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
blst.dllis built natively onwindows-11-armwith the MSVC ARM64 toolchain.build.battherefore assembles blst's hand-written armv8 assembly, the same fast paths as linux-arm64 and osx-arm64.DllMainruns and enables runtime SHA-2 detection (IsProcessorFeaturePresent).-arm64xis deliberately not used: it links with/noentry, which skipsDllMain, so the SHA-2 hardware path would stay off.dumpbinreportsARM64.build.batpicks the assembly flavor from theclbanner, so a wrong toolchain would otherwise quietly produce an x64 DLL..gitattributesrules as mcl-bindings).Build blst(new,workflow_dispatch): builds all six runtimes natively on their own architecture.ubuntu:22.04container, for an older glibc baseline.macos-26-intelinstead of cross-compiling.Test / Publish: tests the committed binaries onubuntu-latest,ubuntu-24.04-arm,macos-latest,macos-26-intel,windows-latestandwindows-11-arm.windows-11-arm, a step asserts the .NET RID iswin-arm64, so an emulated x64 runtime can't pass by silently loading the x64 DLL.Build blstworkflow (blst4f72b30). The previous linux-arm64 binary was a copy of linux-x64.test.yml.Microsoft.SourceLink.GitHubbumped 8.0.0 → 10.0.401.mainis currently red: restore fails with NU1902 (vulnerableMicrosoft.Build.Tasks.Git8.0.0) under warnings-as-errors.Notes
Test / Publishno longer has thepreviewinput (VersionSuffix=preview.N). The blstrefinput moved toBuild blst.create-proption ofBuild blstrequires Allow GitHub Actions to create and approve pull requests.Testing
Build blstran green on all six runtimes (run 37852948171, via a temporary push-triggered branch, since a new workflow can't be dispatched before it is onmain).fileconfirms each binary's OS/arch.windows-11-arm(58/58, RIDwin-arm64),windows-latest,ubuntu-latestandmacos-latest.Test / Publishon this PR covers all six runtimes.dotnet packincludesruntimes/win-arm64/native/blst.dll.🤖 Generated with Claude Code