Repository navigation
fix: skip the x86 AVX2 sources under Emscripten - #1
Merged
Merged
Conversation
Emscripten reports CMAKE_SYSTEM_PROCESSOR x86, so the AVX2 batch transform TU was compiled with -mavx2 -mfma, which wasm32 rejects. The sources' x86 paths already depend on real x86 compiler macros. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ACJ9Nm11WsjN9i5GUmm43J
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.
Emscripten reports an x86 processor, so CMake added the AVX2 batch-transform source with
-mavx2 -mfma, which wasm32 rejects. The x86 block is now skipped under Emscripten (the sources' x86 paths were already off there).Found building campello_renderer for WebGPU.
🤖 Generated with Claude Code
https://claude.ai/code/session_01ACJ9Nm11WsjN9i5GUmm43J