Skip to content

Add Windows on ARM (ARM64) CI support#605

Draft
stefanatwork wants to merge 7 commits into
masterfrom
sw/win-on-arm-ci
Draft

Add Windows on ARM (ARM64) CI support#605
stefanatwork wants to merge 7 commits into
masterfrom
sw/win-on-arm-ci

Conversation

@stefanatwork
Copy link
Copy Markdown
Collaborator

@stefanatwork stefanatwork commented May 26, 2026

Embree had no CI coverage for Windows on ARM. MSVC doesn't define __aarch64__ (it uses _M_ARM64/_M_ARM64EC), causing ARM64-specific code paths—including sse2neon.h—to silently miscompile or fail at runtime.

Changes

  • common/sys/platform.h — normalize ARM64 detection: define __aarch64__ when _M_ARM64 or _M_ARM64EC is set, so all downstream code depending on __aarch64__ works under MSVC
  • common/simd/arm/sse2neon.h — replace the GCC-only #warning with #pragma message under _MSC_VER to fix the build error caused by MSVC treating #warning as an error
  • .github/workflows/public.continuous.yml — add a windows-11-arm CI job using a self-hosted ARM runner; fix EMBREE_TUTORIALS=OFF→ON so the tutorial build is actually exercised in CI

@stefanatwork stefanatwork self-assigned this May 26, 2026
@stefanatwork stefanatwork marked this pull request as draft May 26, 2026 10:11
@stefanatwork stefanatwork changed the title WIP: Windows on ARM CI workflow Windows on ARM CI workflow May 26, 2026
Agent-Logs-Url: https://github.com/RenderKit/embree/sessions/ead49f65-088a-401f-b6ff-a821bf4b5b25

Co-authored-by: stefanatwork <93931354+stefanatwork@users.noreply.github.com>
Agent-Logs-Url: https://github.com/RenderKit/embree/sessions/71a93d2a-2cfa-4e53-ad36-40765438ddee

Co-authored-by: stefanatwork <93931354+stefanatwork@users.noreply.github.com>
Copilot AI changed the title Windows on ARM CI workflow Add Windows on ARM (ARM64) CI support May 27, 2026
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.

2 participants