Skip to content

fix: skip the x86 AVX2 sources under Emscripten - #1

Merged
rusoleal merged 1 commit into
mainfrom
fix/emscripten
Nov 10, 2026
Merged

rusoleal merged 1 commit into
mainfrom
fix/emscripten

Conversation

@rusoleal

@rusoleal rusoleal commented Nov 9, 2026

Copy link
Copy Markdown
Owner

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

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
@rusoleal
rusoleal merged commit 92a565d into main Nov 10, 2026
24 checks passed
@rusoleal
rusoleal deleted the fix/emscripten branch November 10, 2026 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant