commit:     e6cf0cf70cd51f36b13d3181389a0adb8b88c7f8
Author:     Adrian Grigo <agrigo2001 <AT> yahoo <DOT> com <DOT> au>
AuthorDate: Wed Dec  2 15:25:40 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Dec  3 07:32:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6cf0cf7

media-gfx/blender: Cycles requires tbb in blender 2.90+

Blender 2.90+ requires tbb for cycles.

If tbb is not declared, cmake disbles the cycles option and compilation
fails to install cycles executable.

This is fixed by making tbb a required use for cycles.

Blender 2.8x continues to build cycles without tbb.

Signed-off-by: Adrian Grigo <agrigo2001 <AT> yahoo.com.au>
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Closes: https://github.com/gentoo/gentoo/pull/18421
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-gfx/blender/blender-2.90.1-r1.ebuild | 2 +-
 media-gfx/blender/blender-2.91.0.ebuild    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/blender/blender-2.90.1-r1.ebuild 
b/media-gfx/blender/blender-2.90.1-r1.ebuild
index 7c7ab67c366..8c7494285e8 100644
--- a/media-gfx/blender/blender-2.90.1-r1.ebuild
+++ b/media-gfx/blender/blender-2.90.1-r1.ebuild
@@ -30,7 +30,7 @@ RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
        alembic? ( openexr )
        cuda? ( cycles )
-       cycles? ( openexr tiff openimageio )
+       cycles? ( openexr tbb tiff openimageio )
        elbeem? ( tbb )
        opencl? ( cycles )
        openvdb? (

diff --git a/media-gfx/blender/blender-2.91.0.ebuild 
b/media-gfx/blender/blender-2.91.0.ebuild
index 495bfc89e17..3f433ab8fb4 100644
--- a/media-gfx/blender/blender-2.91.0.ebuild
+++ b/media-gfx/blender/blender-2.91.0.ebuild
@@ -30,7 +30,7 @@ RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
        alembic? ( openexr )
        cuda? ( cycles )
-       cycles? ( openexr tiff openimageio )
+       cycles? ( openexr tbb tiff openimageio )
        elbeem? ( tbb )
        opencl? ( cycles )
        openvdb? (

Reply via email to