Add WoA Build Support for Embree#603
Conversation
|
Hi @ranjeet-mcw - I'm not sure I understand the purpose of this PR - embree has been working on WoA for years now, and shipped as part of Blender. I detail the build process in #439. Having reviewed it on the latest tip of main, those instructions still work, the only one addition of Arguably this could be automatically detected and set, which would allow for building of Embree OOB again (it appears things have changed since I made the PR a few years ago, given LLVM now includes some SyCL support natively). This PR is an incorrect approach to an already solved issue. The correct approach would be to rename this PR to |
Enable building Embree natively on Windows on ARM (ARM64) using
clang-cl, Ninja, and Visual Studio 2022 toolchain.
Changes:
conflicts with std::numeric_limits
for clang-cl
parentheses idiom
Tested on:
OS: Windows 11 ARM64
Compiler: clang-cl 21.1.0 (LLVM)
TBB: 2022.3 (vcpkg arm64-windows)
Runtime: embree_minimal.exe verified correct
Fixes #601