ci: add Alpine (musl + GCC + SIMDE_NO_NATIVE) to Cirrus CI#1399
Closed
kjg0724 wants to merge 1 commit intosimd-everywhere:masterfrom
Closed
ci: add Alpine (musl + GCC + SIMDE_NO_NATIVE) to Cirrus CI#1399kjg0724 wants to merge 1 commit intosimd-everywhere:masterfrom
kjg0724 wants to merge 1 commit intosimd-everywhere:masterfrom
Conversation
Add a Cirrus CI task that builds and tests SIMDE on Alpine Linux (musl libc) with GCC and SIMDE_NO_NATIVE disabled. This combination catches link errors caused by __builtin_roundeven being lowered to a roundeven() libm call on GCC 10+: musl lacks roundeven() (C23), so the linker error surfaces immediately. SIMDE_NO_NATIVE ensures the scalar path is taken even on x86-64 with SSE4.1, preventing GCC from inlining the builtin as a ROUNDSD instruction and masking the issue. Suggested during review of simd-everywhere#1398.
Collaborator
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.
Suggested during review of #1398.
Adds a Cirrus CI task that builds and tests SIMDE on Alpine Linux (musl libc) with GCC and
SIMDE_NO_NATIVE.This combination catches link errors caused by
__builtin_roundevenbeing lowered to aroundeven()libm call on GCC 10+: musl lacksroundeven()(C23), so the linker error surfaces immediately.SIMDE_NO_NATIVEensures the scalar path is taken even on x86-64 with SSE4.1, preventing GCC from inlining the builtin as aROUNDSDinstruction and masking the issue.