mirror of
https://github.com/godotengine/godot
synced 2024-09-05 23:13:50 +00:00
![Rémi Verschelde](/assets/img/avatar_default.png)
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.
15 lines
389 B
Python
15 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
|