diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-06-06 23:18:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-06 23:18:18 +0200 |
commit | ca5519c430574805ce074bc5c9e594afe768b820 (patch) | |
tree | f04876825be87b1adcee9bd59252377b58b194be | |
parent | 23a2b4ab7d5e61dfc1e5201b95ba447c647676f4 (diff) | |
parent | 39d84fef89feb26a6aede90288614be13792d37d (diff) |
Merge pull request #39342 from akien-mga/denoise-64bit-desktop-only
denoise: Restrict build to 64-bit desktop platforms
-rw-r--r-- | modules/denoise/config.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/denoise/config.py b/modules/denoise/config.py index 53b8f2f2e3..091d7643c0 100644 --- a/modules/denoise/config.py +++ b/modules/denoise/config.py @@ -1,5 +1,11 @@ def can_build(env, platform): - return env["tools"] + # Thirdparty dependency OpenImage Denoise includes oneDNN library + # which only supports 64-bit architectures. + # 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", "osx", "windows"] + return env["tools"] and platform in desktop_platforms and env["bits"] == "64" def configure(env): |