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 DDFC915808B for ; Sun, 20 Feb 2022 21:10:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF2F1E0845; Sun, 20 Feb 2022 21:10:22 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D6C35E0831 for ; Sun, 20 Feb 2022 21:10:22 +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 E1E07343930 for ; Sun, 20 Feb 2022 21:10:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 31C7F2E0 for ; Sun, 20 Feb 2022 21:10:20 +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: <1645391075.45f4b43e19eaa79839a78f33e799ab100cbd29f9.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/openvdb/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/openvdb/metadata.xml media-gfx/openvdb/openvdb-9.0.0-r2.ebuild X-VCS-Directories: media-gfx/openvdb/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 45f4b43e19eaa79839a78f33e799ab100cbd29f9 X-VCS-Branch: master Date: Sun, 20 Feb 2022 21:10:20 +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: 4d2d03e3-a7df-4ef3-b0fe-be4072917b79 X-Archives-Hash: 7db479f47d2d68430862055407f9083a commit: 45f4b43e19eaa79839a78f33e799ab100cbd29f9 Author: Sebastian Parborg gmail com> AuthorDate: Thu Feb 17 17:18:56 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Feb 20 21:04:35 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45f4b43e media-gfx/openvdb: Add nanovdb useflag OpenVDB now includes the header only library NanoVDB in its source tree. Add support for installing the additional headers via a useflag. Signed-off-by: Sebastian Parborg gmail.com> Signed-off-by: Sam James gentoo.org> media-gfx/openvdb/metadata.xml | 3 +++ media-gfx/openvdb/openvdb-9.0.0-r2.ebuild | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/media-gfx/openvdb/metadata.xml b/media-gfx/openvdb/metadata.xml index a4302c6004d8..ac6d484a46d8 100644 --- a/media-gfx/openvdb/metadata.xml +++ b/media-gfx/openvdb/metadata.xml @@ -18,6 +18,9 @@ Allow using blosc compression via dev-libs/c-blosc + + A lightweight, header only, and GPU friendly version of VDB. + Build pyopenvdb with support for dev-python/numpy diff --git a/media-gfx/openvdb/openvdb-9.0.0-r2.ebuild b/media-gfx/openvdb/openvdb-9.0.0-r2.ebuild index e1cc1a9a6192..d50e1f5bab74 100644 --- a/media-gfx/openvdb/openvdb-9.0.0-r2.ebuild +++ b/media-gfx/openvdb/openvdb-9.0.0-r2.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/AcademySoftwareFoundation/${PN}/archive/v${PV}.tar.g LICENSE="MPL-2.0" SLOT="0/9" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" -IUSE="cpu_flags_x86_avx cpu_flags_x86_sse4_2 +blosc doc numpy python static-libs test utils zlib abi6-compat abi7-compat +abi8-compat" +IUSE="cpu_flags_x86_avx cpu_flags_x86_sse4_2 +blosc doc +nanovdb numpy python static-libs test utils zlib abi6-compat abi7-compat +abi8-compat" RESTRICT="!test? ( test )" REQUIRED_USE=" @@ -87,8 +87,6 @@ src_configure() { die "OpenVDB ABI version is not compatible" fi - # TODO: add NanoVDB? - # https://academysoftwarefoundation.github.io/openvdb/NanoVDB_HowToBuild.html local mycmakeargs=( -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}/" -DOPENVDB_ABI_VERSION_NUMBER="${version}" @@ -106,6 +104,7 @@ src_configure() { -DUSE_COLORED_OUTPUT=ON -DUSE_IMATH_HALF=ON -DUSE_LOG4CPLUS=ON + -DUSE_NANOVDB=$(usex nanovdb) ) if use python; then