mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
27b0f18275
Fully removes the `bits` option and adapts the code that relied on it. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
13 lines
497 B
Python
13 lines
497 B
Python
def can_build(env, platform):
|
|
# Thirdparty dependency OpenImage Denoise includes oneDNN library
|
|
# and the version we use only supports x86_64.
|
|
# It's also only relevant for tools build and desktop platforms,
|
|
# as doing lightmap generation and denoising on Android or HTML5
|
|
# would be a bit far-fetched.
|
|
desktop_platforms = ["linuxbsd", "macos", "windows"]
|
|
return env["tools"] and platform in desktop_platforms and env["arch"] == "x86_64"
|
|
|
|
|
|
def configure(env):
|
|
pass
|