b2373298a2
Embree initially only supported x86_64, then got arm64 support added. Now it seems to be possible to build it with Emscripten (wasm32) and on x86_32 Windows.
14 lines
389 B
Python
14 lines
389 B
Python
def can_build(env, platform):
|
|
# Supported architectures depend on the Embree library.
|
|
# No ARM32 support planned.
|
|
if env["arch"] == "arm32":
|
|
return False
|
|
# x86_32 only seems supported on Windows for now.
|
|
if env["arch"] == "x86_32" and platform != "windows":
|
|
return False
|
|
# The rest works, even wasm32!
|
|
return True
|
|
|
|
|
|
def configure(env):
|
|
pass
|