From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CB5B115ACFB for ; Sun, 16 Apr 2023 03:30:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E520EE08DC; Sun, 16 Apr 2023 03:30:14 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B65B4E08E8 for ; Sun, 16 Apr 2023 03:30:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E1252340DBD for ; Sun, 16 Apr 2023 03:30:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CA72EA3A for ; Sun, 16 Apr 2023 03:30:11 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1681613158.7f572b9f9d71cce259aa40e839764ed318ae7b8f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/blender/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/blender/blender-9999.ebuild media-gfx/blender/metadata.xml X-VCS-Directories: media-gfx/blender/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 7f572b9f9d71cce259aa40e839764ed318ae7b8f X-VCS-Branch: master Date: Sun, 16 Apr 2023 03:30:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 76fd7d17-0085-4266-9134-a0350444e8a5 X-Archives-Hash: f189ea928014d3944568c726b642c2f7 commit: 7f572b9f9d71cce259aa40e839764ed318ae7b8f Author: Sebastian Parborg gmail com> AuthorDate: Mon Apr 3 16:17:11 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sun Apr 16 02:45:58 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f572b9f media-gfx/blender: Add "cycles-bin-kernels" useflag This useflag enables precompiling the cycles render kernels at compile time. This makes it so that the user doesn't have to wait for the kernels to compile when they are used for the first time. Signed-off-by: Sebastian Parborg gmail.com> Signed-off-by: Sam James gentoo.org> media-gfx/blender/blender-9999.ebuild | 3 ++- media-gfx/blender/metadata.xml | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/media-gfx/blender/blender-9999.ebuild b/media-gfx/blender/blender-9999.ebuild index 73275c6a9326..1ae2234b408e 100644 --- a/media-gfx/blender/blender-9999.ebuild +++ b/media-gfx/blender/blender-9999.ebuild @@ -26,7 +26,7 @@ fi SLOT="${PV%.*}" LICENSE="|| ( GPL-3 BL )" IUSE="+bullet +dds +fluid +openexr +tbb \ - alembic collada +color-management cuda +cycles \ + alembic collada +color-management cuda +cycles cycles-bin-kernels \ debug doc +embree +ffmpeg +fftw +gmp jack jemalloc jpeg2k \ man +nanovdb ndof nls openal +oidn +openimageio +openmp +opensubdiv \ +openvdb optix +osl +pdf +potrace +pugixml pulseaudio sdl +sndfile \ @@ -237,6 +237,7 @@ src_configure() { -DWITH_CODEC_SNDFILE=$(usex sndfile) -DWITH_CXX_GUARDEDALLOC=$(usex debug) -DWITH_CYCLES=$(usex cycles) + -DWITH_CYCLES_CUDA_BINARIES=$(usex cycles-bin-kernels) -DWITH_CYCLES_DEVICE_CUDA=$(usex cuda TRUE FALSE) -DWITH_CYCLES_DEVICE_OPTIX=$(usex optix) -DWITH_CYCLES_EMBREE=$(usex embree) diff --git a/media-gfx/blender/metadata.xml b/media-gfx/blender/metadata.xml index 41cc89220a5f..dcb3cb492150 100644 --- a/media-gfx/blender/metadata.xml +++ b/media-gfx/blender/metadata.xml @@ -37,6 +37,11 @@ Build cycles renderer (requires media-libs/openimageio and dev-libs/boost). + + Precompile the cycles render kernels for the CUDA/HIP/OneAPI backends, if they are enabled, at compile time. + This makes it so that the user doesn't have to wait for the kernels to compile when they are used for the first time in Blender. + If this option is not on, they will be built as needed at runtime. + Adds DDS textures support to Blender.