|
@@ -1,13 +1,13 @@
|
|
|
def can_build(env, platform):
|
|
|
# Thirdparty dependency OpenImage Denoise includes oneDNN library
|
|
|
- # which only supports 64-bit architectures.
|
|
|
+ # 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.
|
|
|
# Note: oneDNN doesn't support ARM64, OIDN needs updating to the latest version
|
|
|
supported_platform = platform in ["x11", "osx", "windows", "server"]
|
|
|
supported_bits = env["bits"] == "64"
|
|
|
- supported_arch = env["arch"] != "arm64"
|
|
|
+ supported_arch = env["arch"] != "arm64" and not env["arch"].startswith("rv")
|
|
|
|
|
|
# Hack to disable on Linux arm64. This won't work well for cross-compilation (checks
|
|
|
# host, not target) and would need a more thorough fix by refactoring our arch and
|