27b0f18275
Fully removes the `bits` option and adapts the code that relied on it. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
12 lines
497 B
Python
12 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
|