Skip to content

Add WoA Build Support for embree #601

Description

@ranjeet-mcw

Summary

Embree currently supports ARM on Linux and macOS but not on Windows ARM64 (WoA).
This issue tracks adding native Windows ARM64 build support using clang-cl and Ninja
with Visual Studio 2022 toolchain.

Changes Required

  • platform.h: NOMINMAX guard to prevent windows.h min/max macro conflicts
  • sse2neon.h: windows.h include for ARM64 Windows clang-cl builds
  • clang.cmake: ARM64 Windows detection and compiler flag guards for clang-cl
  • dpcpp.cmake: guard x86 ISA flags against ARM64 Windows target
  • taskschedulertbb.cpp: suppress Windows max macro expansion using parentheses idiom

Test Environment

  • OS: Windows 11 ARM64
  • Compiler: clang-cl 21.1.0 (LLVM)
  • TBB: 2022.3 (vcpkg arm64-windows)

Intent

I plan to submit a PR with these changes once confirmed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions