Merge pull request #87258 from akien-mga/3.x-fix-arm32-oidn-embree-build
[3.x] Linux: Fix arm32 build for OIDN and Embree
This commit is contained in:
commit
dd03a68b89
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ def can_build(env, platform):
|
|||
# Note: oneDNN doesn't support ARM64, OIDN needs updating to the latest version
|
||||
supported_platform = platform in ["x11", "osx", "windows", "server"]
|
||||
supported_arch = env["bits"] == "64"
|
||||
if env["arch"] == "arm64":
|
||||
if env["arch"].startswith("arm"):
|
||||
supported_arch = False
|
||||
if env["arch"].startswith("ppc"):
|
||||
supported_arch = False
|
||||
|
|
|
@ -3,7 +3,7 @@ def can_build(env, platform):
|
|||
return False
|
||||
|
||||
# Depends on Embree library, which only supports x86_64 and aarch64.
|
||||
if env["arch"].startswith("rv") or env["arch"].startswith("ppc"):
|
||||
if env["arch"] in ["arm", "arm32"] or env["arch"].startswith("rv") or env["arch"].startswith("ppc"):
|
||||
return False
|
||||
|
||||
if platform == "android":
|
||||
|
|
Loading…
Reference in a new issue