config.py 499 B

123456789101112
  1. def can_build(env, platform):
  2. # Thirdparty dependency OpenImage Denoise includes oneDNN library
  3. # and the version we use only supports x86_64.
  4. # It's also only relevant for tools build and desktop platforms,
  5. # as doing lightmap generation and denoising on Android or Web
  6. # would be a bit far-fetched.
  7. desktop_platforms = ["linuxbsd", "macos", "windows"]
  8. return env.editor_build and platform in desktop_platforms and env["arch"] == "x86_64"
  9. def configure(env):
  10. pass